diff options
author | Eric Dumazet <[email protected]> | 2021-02-04 13:31:46 -0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2021-02-05 19:28:01 -0800 |
commit | 8dc1c444df193701910f5e80b5d4caaf705a8fb0 (patch) | |
tree | dd5d9a016906a7f1d0b34c50bd2fbeb942f7ed0e /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | b3d2c7b876d450e1d2624fd67658acc96465a9e6 (diff) |
net: gro: do not keep too many GRO packets in napi->rx_list
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]>
Reviewed-by: Saeed Mahameed <[email protected]>
Reviewed-by: Edward Cree <[email protected]>
Reviewed-by: Alexander Lobakin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions