From mboxrd@z Thu Jan 1 00:00:00 1970 From: Willem de Bruijn Subject: [PATCH net-next 0/2] udp msg_zerocopy Date: Sat, 24 Nov 2018 14:24:29 -0500 Message-ID: <20181124192431.32037-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-f196.google.com ([209.85.222.196]:41892 "EHLO mail-qk1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725738AbeKYGNk (ORCPT ); Sun, 25 Nov 2018 01:13:40 -0500 Received: by mail-qk1-f196.google.com with SMTP id 189so10110167qkj.8 for ; Sat, 24 Nov 2018 11:24:35 -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 Willem de Bruijn (2): udp: msg_zerocopy tools/testing: 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