netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/4] UDP: implement GRO support for UDP_SEGMENT socket
@ 2018-09-14 15:43 Paolo Abeni
  2018-09-14 15:43 ` [RFC PATCH 1/4] net: add new helper to update an already registered offload Paolo Abeni
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Paolo Abeni @ 2018-09-14 15:43 UTC (permalink / raw)
  To: netdev; +Cc: David S. Miller, Willem de Bruijn, Steffen Klassert

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2018-09-17 19:35 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-14 15:43 [RFC PATCH 0/4] UDP: implement GRO support for UDP_SEGMENT socket Paolo Abeni
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

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