From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH] hv_netvsc: Add per-cpu ethtool stats for netvsc Date: Thu, 07 Jun 2018 16:26:09 -0400 (EDT) Message-ID: <20180607.162609.1307648495406963798.davem@davemloft.net> References: <20180606222700.24732-1-yidren@linuxonhyperv.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: sthemmin@microsoft.com, netdev@vger.kernel.org, haiyangz@microsoft.com, linux-kernel@vger.kernel.org, devel@linuxdriverproject.org To: yidren@microsoft.com, yidren@linuxonhyperv.com Return-path: In-Reply-To: <20180606222700.24732-1-yidren@linuxonhyperv.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" List-Id: netdev.vger.kernel.org From: Yidong Ren Date: Wed, 6 Jun 2018 15:27:00 -0700 > From: Yidong Ren > > This patch implements following ethtool stats fields for netvsc: > cpu_tx/rx_packets/bytes > cpu_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 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.