All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Abeni <pabeni@redhat.com>
To: netdev@vger.kernel.org
Cc: "David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <eric.dumazet@gmail.com>
Subject: [PATCH net-next 0/4] net: extend indirect calls helper usage
Date: Fri,  3 May 2019 17:01:35 +0200	[thread overview]
Message-ID: <cover.1556889691.git.pabeni@redhat.com> (raw)

This series applies the indirect calls helper introduced with commit 
283c16a2dfd3 ("indirect call wrappers: helpers to speed-up indirect 
calls of builtin") to more hooks inside the network stack.

Overall this avoids up to 4 indirect calls for each RX packets,
giving small but measurable gain TCP_RR workloads and 5% under UDP
flood.

Paolo Abeni (4):
  net: use indirect calls helpers for ptype hook
  net: use indirect calls helpers for L3 handler hooks
  net: use indirect calls helpers at early demux stage
  net: use indirect calls helpers at the socket layer

 net/core/dev.c       |  6 ++++--
 net/ipv4/ip_input.c  | 11 +++++++++--
 net/ipv6/ip6_input.c | 12 ++++++++++--
 net/ipv6/tcp_ipv6.c  |  5 +++--
 net/ipv6/udp.c       |  5 +++--
 net/socket.c         | 20 ++++++++++++++++----
 6 files changed, 45 insertions(+), 14 deletions(-)

-- 
2.20.1


             reply	other threads:[~2019-05-03 15:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-03 15:01 Paolo Abeni [this message]
2019-05-03 15:01 ` [PATCH net-next 1/4] net: use indirect calls helpers for ptype hook Paolo Abeni
2019-06-01  0:02   ` Eric Dumazet
2019-05-03 15:01 ` [PATCH net-next 2/4] net: use indirect calls helpers for L3 handler hooks Paolo Abeni
2019-05-03 15:01 ` [PATCH net-next 3/4] net: use indirect calls helpers at early demux stage Paolo Abeni
2019-05-03 15:01 ` [PATCH net-next 4/4] net: use indirect calls helpers at the socket layer Paolo Abeni
2019-05-05 17:38 ` [PATCH net-next 0/4] net: extend indirect calls helper usage David Miller

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.1556889691.git.pabeni@redhat.com \
    --to=pabeni@redhat.com \
    --cc=davem@davemloft.net \
    --cc=eric.dumazet@gmail.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.