diff options
author | Simon Xiao <sixiao@microsoft.com> | 2017-01-25 00:06:13 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-25 00:29:01 +0300 |
commit | 6c80f3fc2398aef22798e8ac4258454b1062f3fb (patch) | |
tree | 1101688cc456925a87c943138f2521c29550820d /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 793e39555511bccd73308c41205b72448d0077db (diff) | |
download | linux-6c80f3fc2398aef22798e8ac4258454b1062f3fb.tar.xz |
netvsc: report per-channel stats in ethtool statistics
Report packets and bytes transferred through a vmbus channel via ethtool.
This supersedes need for per-cpu statistics.
Example:
$ ethtool -S eth0
NIC statistics:
...
tx_queue_0_packets: 3523179
tx_queue_0_bytes: 505370920
rx_queue_0_packets: 41430490
rx_queue_0_bytes: 62714661254
tx_queue_1_packets: 0
tx_queue_1_bytes: 0
rx_queue_1_packets: 0
rx_queue_1_bytes: 0
...
Reviewed-by: Long Li <longli@microsoft.com>
Reviewed-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Simon Xiao <sixiao@microsoft.com>
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions