diff options
| author | Simon Xiao <[email protected]> | 2017-09-29 18:39:46 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-10-01 03:10:30 +0000 |
| commit | 09af87d18f6ba05588e6316c47fdacf06e28cce8 (patch) | |
| tree | 15e85eec8cb6d92fbd5386303d3c70836e90385c /drivers/net/hyperv/hyperv_net.h | |
| parent | bpf: Fix compiler warning on info.map_ids for 32bit platform (diff) | |
| download | kernel-09af87d18f6ba05588e6316c47fdacf06e28cce8.tar.gz kernel-09af87d18f6ba05588e6316c47fdacf06e28cce8.zip | |
hv_netvsc: report stop_queue and wake_queue
Report the numbers of events for stop_queue and wake_queue in
ethtool stats.
Example:
ethtool -S eth0
NIC statistics:
...
stop_queue: 7
wake_queue: 7
...
Signed-off-by: Simon Xiao <[email protected]>
Reviewed-by: Haiyang Zhang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/hyperv/hyperv_net.h')
| -rw-r--r-- | drivers/net/hyperv/hyperv_net.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/hyperv/hyperv_net.h b/drivers/net/hyperv/hyperv_net.h index 5176be76ca7d..6f550e15a41c 100644 --- a/drivers/net/hyperv/hyperv_net.h +++ b/drivers/net/hyperv/hyperv_net.h @@ -686,6 +686,8 @@ struct netvsc_ethtool_stats { unsigned long tx_busy; unsigned long tx_send_full; unsigned long rx_comp_busy; + unsigned long stop_queue; + unsigned long wake_queue; }; struct netvsc_vf_pcpu_stats { |
