commit | 1c5b82e55f152988778bebeea52fae7f6cea9a60 | [log] [tgz] |
---|---|---|
author | Lorenzo Bianconi <lorenzo@kernel.org> | Thu Mar 19 17:41:26 2020 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 19 21:24:58 2020 -0700 |
tree | f69002d7f0280ab3c38f72bca314b6404ee1d258 | |
parent | 65780c5627a26d788f10e2b1a37125779a556a58 [diff] |
veth: introduce more specialized counters in veth_stats Introduce xdp_tx, xdp_redirect and rx_drops counters in veth_stats data structure. Move stats accounting in veth_poll. Remove xdp_xmit variable in veth_xdp_rcv_one/veth_xdp_rcv_skb and rely on veth_stats counters. This is a preliminary patch to align veth xdp statistics to mlx, intel and marvell xdp implementation Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>