mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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:
parent
721e08dad1
commit
09af87d18f
3 changed files with 14 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue