[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1363302980.29475.45.camel@edumazet-glaptop>
Date: Fri, 15 Mar 2013 00:16:20 +0100
From: Eric Dumazet <eric.dumazet@...il.com>
To: Andy Lutomirski <luto@...capital.net>
Cc: Ben Hutchings <bhutchings@...arflare.com>,
Network Development <netdev@...r.kernel.org>
Subject: Re: LRO/GRO and libpcap packet reordering
On Thu, 2013-03-14 at 15:58 -0700, Andy Lutomirski wrote:
> Right. This is the part that I'm wondering about an efficient fix to
> (i.e. flush GRO state for one flow whenever a packet for the reversed
> flow is seen).
It doesnt seem doable easily, because network header and tcp headers are
handled in two separate functions in GRO stack (inet_gro_receive() &
tcp_gro_receive()
What you could do is changing MAX_GRO_SKBS from 8 to 1
(basically allowing only one flow in GRO stack)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists