From: Paolo Abeni <pabeni@redhat.com>
To: netdev@vger.kernel.org
Cc: "David S. Miller" <davem@davemloft.net>,
Willem de Bruijn <willemb@google.com>,
Steffen Klassert <steffen.klassert@secunet.com>
Subject: [RFC PATCH 0/4] UDP: implement GRO support for UDP_SEGMENT socket
Date: Fri, 14 Sep 2018 17:43:20 +0200 [thread overview]
Message-ID: <cover.1536939423.git.pabeni@redhat.com> (raw)
This series implements GRO support for UDP sockets, as the RX counterpart
of ommit bec1f6f69736 ("udp: generate gso with UDP_SEGMENT").
The first two patches allow UDP GRO registration on demand, avoiding additional
overhead when no UDP_SEGMENT sockets are created, actually decreasing the GRO
engine costs for the default configuration for UDP packets. They could possibly
live on their own.
The third patch contains the actual UDP GRO implementation, while the 4th patch
allows using the udpgso_bench_rx program under selftest to trigger UDP GRO. A
full self-test is not there yet.
Paolo Abeni (4):
net: add new helper to update an already registered offload
net: enable UDP gro on demand.
udp: implement GRO plain UDP sockets.
selftests: add GRO support, fix port option processing
include/linux/udp.h | 18 +-
include/net/addrconf.h | 1 +
include/net/protocol.h | 4 +
include/net/udp.h | 12 ++
net/ipv4/protocol.c | 13 +-
net/ipv4/udp.c | 3 +
net/ipv4/udp_offload.c | 170 +++++++++++++++---
net/ipv4/udp_tunnel.c | 1 +
net/ipv6/af_inet6.c | 1 +
net/ipv6/protocol.c | 13 +-
net/ipv6/udp_offload.c | 31 +++-
tools/testing/selftests/net/udpgso_bench_rx.c | 18 +-
12 files changed, 244 insertions(+), 41 deletions(-)
--
2.17.1
next reply other threads:[~2018-09-14 20:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-14 15:43 Paolo Abeni [this message]
2018-09-14 15:43 ` [RFC PATCH 1/4] net: add new helper to update an already registered offload Paolo Abeni
2018-09-14 15:43 ` [RFC PATCH 2/4] net: enable UDP gro on demand Paolo Abeni
2018-09-14 17:16 ` Willem de Bruijn
2018-09-16 18:23 ` Willem de Bruijn
2018-09-17 10:18 ` Paolo Abeni
2018-09-17 14:07 ` Willem de Bruijn
2018-09-14 15:43 ` [RFC PATCH 3/4] udp: implement GRO plain UDP sockets Paolo Abeni
2018-09-14 16:48 ` Eric Dumazet
2018-09-17 10:06 ` Paolo Abeni
2018-09-14 15:43 ` [RFC PATCH 4/4] selftests: add GRO support, fix port option processing 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.1536939423.git.pabeni@redhat.com \
--to=pabeni@redhat.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=steffen.klassert@secunet.com \
--cc=willemb@google.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).