]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit848b781ca01ed8bf03bbaef4ee7fce038ef14541
treeec10ba39888365a130e1d8b0e2ebbf7c54cd6555
parent0fb7ee07f25996cdb07006e06548c95e5a952284
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