From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QmrDtnJuIFTDtnBlbA==?= Subject: Re: [net-next, PATCH 0/2, v3] net: socionext: XDP support Date: Mon, 1 Oct 2018 14:48:54 +0200 Message-ID: References: <1538220482-16129-1-git-send-email-ilias.apalodimas@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Cc: ard.biesheuvel@linaro.org, masami.hiramatsu@linaro.org, arnd@arndb.de, magnus.karlsson@intel.com, brouer@redhat.com, daniel@iogearbox.net, ast@kernel.org, jesus.sanchez-palencia@intel.com, vinicius.gomes@intel.com, makita.toshiaki@lab.ntt.co.jp To: Ilias Apalodimas , netdev@vger.kernel.org, jaswinder.singh@linaro.org Return-path: Received: from mga18.intel.com ([134.134.136.126]:46789 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729017AbeJAT0r (ORCPT ); Mon, 1 Oct 2018 15:26:47 -0400 In-Reply-To: <1538220482-16129-1-git-send-email-ilias.apalodimas@linaro.org> Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 2018-09-29 13:28, Ilias Apalodimas wrote: > This patch series adds AF_XDP support socionext netsec driver This series adds *XDP* support and as a result, the AF_XDP batteries are included. ;-) Björn > In addition the new dma allocation scheme offers a 10% boost on Rx > pps rate using 64b packets > > - patch [1/2]: Use a different allocation scheme for Rx DMA buffers to > prepare the driver for AF_XDP support > - patch [2/2]: Add XDP support without zero-copy > > test and performance numbers (64b packets): > ------------------------------------------- > - Normal SKBs on Rx: ~217kpps > test: pktgen -> intel i210 -> netsec -> XDP_TX/XDP_REDIRECT > - XDP_TX: 320kpps > - XDP_REDIRECT: 320kpps > > qemu -> pktgen -> virtio -> ndo_xdp_xmit -> netsec > - ndo_xdp_xmit: Could not send more than 120kpps. Interface forwarded that > with success > > Changes since v2: > - Always allocate Rx buffers with XDP_PACKET_HEADROOM > > Björn Töpel: > - Added locking in the Tx queue > > Jesper Dangaard Brouer: > - Added support for .ndo_xdp_xmit > - XDP_TX does not flush every packet > > Changes since v1: > - patch [2/2]: > Toshiaki Makita: > - Added XDP_PACKET_HEADROOM > - Fixed a bug on XDP_PASS case > - Using extact for error messaging instead of netdev_warn, when > trying to setup XDP > > Ilias Apalodimas (2): > net: socionext: different approach on DMA > net: socionext: add XDP support > > drivers/net/ethernet/socionext/netsec.c | 541 +++++++++++++++++++++++++------- > 1 file changed, 426 insertions(+), 115 deletions(-) >