Re: [PATCH 1/4] net: hsr: fix packet drops caused by GRO superpackets

Jakub Kicinski <[email protected]>
Newsgroups gmane.linux.kernel.stable,gmane.linux.network,gmane.linux.kernel
Message-ID <[email protected]>
On Sun,  9 Aug 2026 14:14:51 +0200 Xin Xie wrote:
> HSR/PRP process each wire frame separately for tagging and duplicate
> discard. GRO on a lower device hides multiple frames in one skb, which
> cannot be forwarded with valid per-frame metadata.
> 
> Disable GRO and GRO_HW when a lower device is enslaved, matching the
> existing LRO handling.
> 
> This is best effort because GRO may be re-enabled and some devices cannot
> disable GRO_HW. The forward-entry segmentation fix handles plain,
> trailer-free GSO skbs that still arrive; device-specific fixed-on GRO_HW
> output is outside this guarantee.

1) could you explain in more detail why GRO is breaking things?
GRO shouldn't merge packets with different L2/L2.5 and packets
with trailers?

2) the code seems inspired by LRO but LRO also has
NETIF_F_UPPER_DISABLES. This change looks rather incomplete.
Calling it "best effort" seems like an excuse.

3) Clashiko has a number of other comments:
https://netdev-ai.bots.linux.dev/sashiko/#/patchset/[email protected]
-- 
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.