lkml.org 
[lkml]   [2024]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH net-next v3 4/4] net: gro: move L3 flush checks to tcp_gro_receive
On Sat, Mar 9, 2024 at 4:35 PM Richard Gobert <richardbgobert@gmailcom> wrote:
>
> {inet,ipv6}_gro_receive functions perform flush checks (ttl, flags,
> iph->id, ...) against all packets in a loop. These flush checks are
> relevant only to tcp flows, and as such they're used to determine whether
> the packets can be merged later in tcp_gro_receive.
>
> These checks are not relevant to UDP packets.

I do not think this claim is true.

Incoming packets -> GRO -> GSO -> forwarded packets

The {GRO,GSO} step must be transparent, GRO is not LRO.

\
 
 \ /
  Last update: 2024-05-27 15:43    [W:0.089 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site