]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit14255083b086feede855183f8ab9e6595b2ce078
treee50b6a957936fb52e2da9beaa7adeadb5c9042c5
parentf0f2cc9631dc42c9c7a0f8c7163828061f36feee
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