diff options
author | 2018-10-11 18:36:50 +0900 | |
---|---|---|
committer | 2018-10-15 21:58:46 -0700 | |
commit | d397b9682c1c808344dd93b43de8750fa4d9f581 (patch) | |
tree | 4a7739eb711b13d69f05886d149c29ca91081b22 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | veth: Account for XDP packet statistics on rx side (diff) | |
download | linux-dev-d397b9682c1c808344dd93b43de8750fa4d9f581.tar.xz linux-dev-d397b9682c1c808344dd93b43de8750fa4d9f581.zip |
veth: Add ethtool statistics support for XDP
Expose per-queue stats for ethtool -S.
As there are only rx queues, and rx queues are used only when XDP is
used, per-queue counters are only rx XDP ones.
Example:
$ ethtool -S veth0
NIC statistics:
peer_ifindex: 11
rx_queue_0_xdp_packets: 28601434
rx_queue_0_xdp_bytes: 1716086040
rx_queue_0_xdp_drops: 28601434
rx_queue_1_xdp_packets: 17873050
rx_queue_1_xdp_bytes: 1072383000
rx_queue_1_xdp_drops: 17873050
Signed-off-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions