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
| ||
|
Date: Tue, 1 May 2018 09:50:21 +0200 From: Jesper Dangaard Brouer <brouer@...hat.com> To: Toshiaki Makita <toshiaki.makita1@...il.com> Cc: brouer@...hat.com, netdev@...r.kernel.org, Toshiaki Makita <makita.toshiaki@....ntt.co.jp> Subject: Re: [PATCH RFC 4/9] veth: Use NAPI for XDP On Tue, 24 Apr 2018 23:39:18 +0900 Toshiaki Makita <toshiaki.makita1@...il.com> wrote: > +static int veth_xdp_enqueue(struct veth_priv *priv, void *ptr) > +{ > + if (unlikely(ptr_ring_produce(&priv->xdp_ring, ptr))) > + return -ENOSPC; > + > + return 0; > +} Here we have a lock per (enqueued) packet. I'm working on changing the ndo_xdp_xmit API to allow bulking. And the tun driver have exact same issue/need. -- 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