mbox series

[RFC,0/3] gro: some minor optimizations

Message ID cover.1642519257.git.pabeni@redhat.com (mailing list archive)
Headers show
Series gro: some minor optimizations | expand

Message

Paolo Abeni Jan. 18, 2022, 3:24 p.m. UTC
This series collects a few small optimization for the GRO engine.
I measure a 10% performance improvements in micro-benchmarks
around dev_gro_receive(), but deltas are within noise range in tput
tests - ence the RFC tag.

Any feedback more then welcome.

Paolo Abeni (3):
  net: gro: avoid re-computing truesize twice on recycle
  net: gro: minor optimization for dev_gro_receive()
  net: gro: register gso and gro offload on separate lists

 include/linux/netdevice.h |   3 +-
 include/net/gro.h         |  13 +++--
 net/core/gro.c            | 107 +++++++++++++++++++++-----------------
 3 files changed, 70 insertions(+), 53 deletions(-)