On 04/02/2021 21:31, Eric Dumazet wrote:
> From: Eric Dumazet <[email protected]>
> 
> Commit c80794323e82 ("net: Fix packet reordering caused by GRO and
> listified RX cooperation") had the unfortunate effect of adding
> latencies in common workloads.
> 
> Before the patch, GRO packets were immediately passed to
> upper stacks.
> 
> After the patch, we can accumulate quite a lot of GRO
> packets (depdending on NAPI budget).
> 
> My fix is counting in napi->rx_count number of segments
> instead of number of logical packets.
> 
> Fixes: c80794323e82 ("net: Fix packet reordering caused by GRO and listified 
> RX cooperation")
> Signed-off-by: Eric Dumazet <[email protected]>
> Bisected-by: John Sperbeck <[email protected]>
> Tested-by: Jian Yang <[email protected]>
> Cc: Maxim Mikityanskiy <[email protected]>
> Cc: Alexander Lobakin <[email protected]>
> Cc: Saeed Mahameed <[email protected]>
> Cc: Edward Cree <[email protected]>

Reviewed-by: Edward Cree <[email protected]>

Reply via email to