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 PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Fri, 08 May 2015 08:57:01 -0700 From: Eric Dumazet <eric.dumazet@...il.com> To: Jesper Dangaard Brouer <brouer@...hat.com> Cc: Daniel Borkmann <daniel@...earbox.net>, Alexei Starovoitov <ast@...mgrid.com>, netdev@...r.kernel.org Subject: Re: [PATCH v5 2/2] pktgen: introduce xmit_mode '<start_xmit|netif_receive>' On Fri, 2015-05-08 at 17:39 +0200, Jesper Dangaard Brouer wrote: > The funny thing now is that scaling does not "happen" as we stall on: > atomic_long_inc(&skb->dev->rx_dropped); Note we already have percpu device refcnt. We could extend this to contain a per cpu rx_dropped, but I guess only these tests hit this path, so I simply used one atomic_long_t here. I guess an ingress action can do better, by stealing the packet before hitting this point. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists