From mboxrd@z Thu Jan 1 00:00:00 1970 From: Willem de Bruijn Subject: [PATCH net-next v2 0/2] udp msg_zerocopy Date: Mon, 26 Nov 2018 10:29:37 -0500 Message-ID: <20181126152939.258443-1-willemdebruijn.kernel@gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: davem@davemloft.net, Willem de Bruijn To: netdev@vger.kernel.org Return-path: Received: from mail-qk1-f178.google.com ([209.85.222.178]:40662 "EHLO mail-qk1-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726328AbeK0CYK (ORCPT ); Mon, 26 Nov 2018 21:24:10 -0500 Received: by mail-qk1-f178.google.com with SMTP id y16so12482996qki.7 for ; Mon, 26 Nov 2018 07:29:43 -0800 (PST) Sender: netdev-owner@vger.kernel.org List-ID: From: Willem de Bruijn 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