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 <sixiao@microsoft.com> Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
721e08dad1
commit
09af87d18f
@@ -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 {
|
||||
|
Reference in New Issue
Block a user