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

From: David Miller
Date: Thu Jun 07 2018 - 16:26:19 EST


From: Yidong Ren <yidren@xxxxxxxxxxxxxxxxx>
Date: Wed, 6 Jun 2018 15:27:00 -0700

> From: Yidong Ren <yidren@xxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxx>

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.