Skip to content

gro: some minor optimization

Paolo Abeni netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: gro: avoid re-computing truesize twice on recyclenet/core/gro.c+0 -11 reply
2/3net: gro: minor optimization for dev_gro_receive()include/net/gro.h net/core/gro.c+35 -353 replies
3/3net: gro: register gso and gro offload on separate listsinclude/linux/netdevice.h net/core/gro.c+56 -374 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/3] gro: some minor optimization

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.

Still with big TCP coming every cycle saved from the GRO engine will count - I hope ;)

The only change from the RFC is in patch 2, as per Alexander feedback

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         |  52 +++++++++---------
 net/core/gro.c            | 109 +++++++++++++++++++++-----------------
 3 files changed, 91 insertions(+), 73 deletions(-)
Signature · 1 line
2.34.1