From: Willem de Bruijn <will...@google.com>

Enable MSG_ZEROCOPY for udp sockets

Patch 1/2 is the main patch, a rebase from RFC patch
  http://patchwork.ozlabs.org/patch/899630/
  more details in the patch commit message

Patch 2/2 runs the already existing udp zerocopy tests
  as part of kselftest

See also recent Linux Plumbers presentation
  
https://linuxplumbersconf.org/event/2/contributions/106/attachments/104/128/willemdebruijn-lpc2018-udpgso-presentation-20181113.pdf

Changes v1 -> v2
  - (patch 1) Fixup reverse christmas tree violation

Willem de Bruijn (2):
  udp: msg_zerocopy
  selftests: extend zerocopy tests to udp

 include/linux/skbuff.h                      |  1 +
 net/core/skbuff.c                           | 15 +++++++++++++-
 net/core/sock.c                             |  5 ++++-
 net/ipv4/ip_output.c                        | 22 ++++++++++++++++++++-
 net/ipv6/ip6_output.c                       | 22 ++++++++++++++++++++-
 tools/testing/selftests/net/msg_zerocopy.c  |  3 ++-
 tools/testing/selftests/net/msg_zerocopy.sh |  2 ++
 tools/testing/selftests/net/udpgso_bench.sh |  3 +++
 8 files changed, 68 insertions(+), 5 deletions(-)

-- 
2.20.0.rc0.387.gc7a69e6b6c-goog

Reply via email to