mbox series

[v2,net-next,0/2] move ndo_xdp_xmit stats to peer veth_rq

Message ID cover.1585260407.git.lorenzo@kernel.org
Headers show
Series move ndo_xdp_xmit stats to peer veth_rq | expand

Message

Lorenzo Bianconi March 26, 2020, 10:10 p.m. UTC
Move ndo_xdp_xmit ethtool stats accounting to peer veth_rq.
Move XDP_TX accounting to veth_xdp_flush_bq routine.

Changes since v1:
- rename xdp_xmit[_err] counters to peer_tq_xdp_xmit[_err]

Lorenzo Bianconi (2):
  veth: rely on veth_rq in veth_xdp_flush_bq signature
  veth: rely on peer veth_rq for ndo_xdp_xmit accounting

 drivers/net/veth.c | 159 +++++++++++++++++++++++++++------------------
 1 file changed, 97 insertions(+), 62 deletions(-)

Comments

David Miller March 27, 2020, 2:35 a.m. UTC | #1
From: Lorenzo Bianconi <lorenzo@kernel.org>
Date: Thu, 26 Mar 2020 23:10:18 +0100

> Move ndo_xdp_xmit ethtool stats accounting to peer veth_rq.
> Move XDP_TX accounting to veth_xdp_flush_bq routine.
> 
> Changes since v1:
> - rename xdp_xmit[_err] counters to peer_tq_xdp_xmit[_err]

Series applied, thanks.