[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190629123630.58fc82b1@carbon>
Date: Sat, 29 Jun 2019 12:36:30 +0200
From: Jesper Dangaard Brouer <brouer@...hat.com>
To: Ilias Apalodimas <ilias.apalodimas@...aro.org>
Cc: netdev@...r.kernel.org, jaswinder.singh@...aro.org,
ard.biesheuvel@...aro.org, bjorn.topel@...el.com,
magnus.karlsson@...el.com, daniel@...earbox.net, ast@...nel.org,
makita.toshiaki@....ntt.co.jp, jakub.kicinski@...ronome.com,
john.fastabend@...il.com, davem@...emloft.net,
maciejromanfijalkowski@...il.com, brouer@...hat.com
Subject: Re: [net-next, PATCH 3/3, v2] net: netsec: add XDP support
On Sat, 29 Jun 2019 08:23:25 +0300
Ilias Apalodimas <ilias.apalodimas@...aro.org> wrote:
> The interface only supports 1 Tx queue so locking is introduced on
> the Tx queue if XDP is enabled to make sure .ndo_start_xmit and
> .ndo_xdp_xmit won't corrupt Tx ring
>
> - Performance (SMMU off)
>
> Benchmark XDP_SKB XDP_DRV
> xdp1 291kpps 344kpps
> rxdrop 282kpps 342kpps
>
> - Performance (SMMU on)
> Benchmark XDP_SKB XDP_DRV
> xdp1 167kpps 324kpps
> rxdrop 164kpps 323kpps
>
> Signed-off-by: Ilias Apalodimas <ilias.apalodimas@...aro.org>
This version looks okay to me. I don't have the hardware, so I've not
tested it...
Acked-by: Jesper Dangaard Brouer <brouer@...hat.com>
--
Best regards,
Jesper Dangaard Brouer
MSc.CS, Principal Kernel Engineer at Red Hat
LinkedIn: http://www.linkedin.com/in/brouer
Powered by blists - more mailing lists