Re: [PATCH net v2] net/mlx5e: SHAMPO, Fix IP length overflow on large HW GRO sessions

Jakub Kicinski <[email protected]>
Newsgroups org.kernel.vger.linux-rdma,org.kernel.vger.linux-kernel,org.kernel.vger.netdev
Message-ID <[email protected]>
On Mon, 17 Aug 2026 14:16:18 -0400 Tianyu Zuo wrote:
> mlx5e_hw_gro_skb_has_enough_space() bounds a HW GRO session by the
> payload held in the skb fragments only. The L3/L4 headers that
> header-data split placed in the linear area are not accounted for, and
> the limit is inclusive of GRO_LEGACY_MAX_SIZE.

This regresses both ipv4-large-rem and ipv6-large-rem on CX7

# # Exception|   STDERR: Expected {64896 600 600 }, Total 3 packets
# # Exception|           Received {60840 [!=64896]4656 [!=600]600 }, Total 3 packets.

we could have fit another MSS into the aggregate, easily.
-- 
pw-bot: cr
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.