[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161109.185000.45567817803684243.davem@davemloft.net>
Date: Wed, 09 Nov 2016 18:50:00 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] net-gro: avoid reorders
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Mon, 07 Nov 2016 11:12:27 -0800
> From: Eric Dumazet <edumazet@...gle.com>
>
> Receiving a GSO packet in dev_gro_receive() is not uncommon
> in stacked devices, or devices partially implementing LRO/GRO
> like bnx2x. GRO is implementing the aggregation the device
> was not able to do itself.
>
> Current code causes reorders, like in following case :
>
> For a given flow where sender sent 3 packets P1,P2,P3,P4
>
> Receiver might receive P1 as a single packet, stored in GRO engine.
>
> Then P2-P4 are received as a single GSO packet, immediately given to
> upper stack, while P1 is held in GRO engine.
>
> This patch will make sure P1 is given to upper stack, then P2-P4
> immediately after.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied.
Powered by blists - more mailing lists