veth: rely on peer veth_rq for ndo_xdp_xmit accounting
authorLorenzo Bianconi <lorenzo@kernel.org>
Thu, 26 Mar 2020 22:10:20 +0000 (23:10 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Mar 2020 02:35:13 +0000 (19:35 -0700)
commit5fe6e56776ba6979844f9ef5361f43852a7b16a2
treee50b6a957936fb52e2da9beaa7adeadb5c9042c5
parentbd32aa1f5d2c0edab09c2d80af30cb829337ddef
veth: rely on peer veth_rq for ndo_xdp_xmit accounting

Rely on 'remote' veth_rq to account ndo_xdp_xmit ethtool counters.
Move XDP_TX accounting to veth_xdp_flush_bq routine.
Remove 'rx' prefix in rx xdp ethool counters

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Acked-by: Toshiaki Makita <toshiaki.makita1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/veth.c