public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Paolo Abeni <pabeni@redhat•com>
To: netdev@vger•kernel.org
Cc: Eric Dumazet <edumazet@google•com>
Subject: [RFC PATCH 0/3] gro: some minor optimizations
Date: Tue, 18 Jan 2022 16:24:17 +0100	[thread overview]
Message-ID: <cover.1642519257.git.pabeni@redhat.com> (raw)

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(-)

-- 
2.34.1


             reply	other threads:[~2022-01-18 15:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-18 15:24 Paolo Abeni [this message]
2022-01-18 15:24 ` [RFC PATCH 1/3] net: gro: avoid re-computing truesize twice on recycle Paolo Abeni
2022-01-18 15:24 ` [RFC PATCH 2/3] net: gro: minor optimization for dev_gro_receive() Paolo Abeni
2022-01-18 15:56   ` Alexander Lobakin
2022-01-18 16:31     ` Paolo Abeni
2022-01-18 17:39       ` Alexander Lobakin
2022-02-02 10:09         ` Paolo Abeni
2022-02-02 12:08           ` Alexander Lobakin
2022-02-07  2:53             ` Kees Cook
2022-01-18 15:24 ` [RFC PATCH 3/3] net: gro: register gso and gro offload on separate lists Paolo Abeni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1642519257.git.pabeni@redhat.com \
    --to=pabeni@redhat$(echo .)com \
    --cc=edumazet@google$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox