lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a8745c83-574a-6e6c-ef2a-f2ae4d39d9a2@intel.com>
Date:   Mon, 1 Oct 2018 14:48:54 +0200
From:   Björn Töpel <bjorn.topel@...el.com>
To:     Ilias Apalodimas <ilias.apalodimas@...aro.org>,
        netdev@...r.kernel.org, jaswinder.singh@...aro.org
Cc:     ard.biesheuvel@...aro.org, masami.hiramatsu@...aro.org,
        arnd@...db.de, magnus.karlsson@...el.com, brouer@...hat.com,
        daniel@...earbox.net, ast@...nel.org,
        jesus.sanchez-palencia@...el.com, vinicius.gomes@...el.com,
        makita.toshiaki@....ntt.co.jp
Subject: Re: [net-next, PATCH 0/2, v3] net: socionext: XDP support

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ