On Fri, Feb 4, 2022 at 3:29 AM Paolo Abeni [off-list ref] wrote:
This series collects a couple of small optimizations for the GRO engine,
reducing slightly the number of cycles for dev_gro_receive().
The delta is within noise range in tput tests, but with big TCP coming
every cycle saved from the GRO engine will count - I hope ;)
v1 -> v2:
- a few cleanup suggested from Alexander(s)
- moved away the more controversial 3rd patch
Paolo Abeni (2):
net: gro: avoid re-computing truesize twice on recycle
net: gro: minor optimization for dev_gro_receive()
include/net/gro.h | 52 +++++++++++++++++++++++++----------------------
net/core/gro.c | 16 ++++-----------
2 files changed, 32 insertions(+), 36 deletions(-)
This addresses the concern I had.
Reviewed-by: Alexander Duyck <alexanderduyck@fb.com>