OSDN Git Service

veth: remove atomic64_add from veth_xdp_xmit hotpath
authorLorenzo Bianconi <lorenzo@kernel.org>
Thu, 19 Mar 2020 16:41:29 +0000 (17:41 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Mar 2020 04:24:59 +0000 (21:24 -0700)
commitd99a7c2f3d0e65d3906bd7cf719223b0f8b5b481
treeec10ba39888365a130e1d8b0e2ebbf7c54cd6555
parent9152cff0dd3df6613091ab8c8bf1c419a5f01047
veth: remove atomic64_add from veth_xdp_xmit hotpath

Remove atomic64_add from veth_xdp_xmit hotpath and rely on
xdp_xmit_err/xdp_tx_err counters

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/veth.c