[PATCH] hv_netvsc: Add per-cpu ethtool stats for netvsc

David Miller davem at davemloft.net
Thu Jun 7 20:26:09 UTC 2018


From: Yidong Ren <yidren at linuxonhyperv.com>
Date: Wed,  6 Jun 2018 15:27:00 -0700

> From: Yidong Ren <yidren at microsoft.com>
> 
> This patch implements following ethtool stats fields for netvsc:
> cpu<n>_tx/rx_packets/bytes
> cpu<n>_vf_tx/rx_packets/bytes
> 
> Corresponding per-cpu counters exist in current code. Exposing these
> counters will help troubleshooting performance issues.
> 
> Signed-off-by: Yidong Ren <yidren at microsoft.com>

net-next is closed, please resubmit this new feature when it opens again,
also:

> +	// fetch percpu stats of vf

Please do not use c++ comments.



More information about the devel mailing list