From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: Re: [PATCH net-next v3] net: mvpp2: add ethtool GOP statistics Date: Mon, 6 Nov 2017 23:53:44 +0100 Message-ID: <20171106225344.GA21312@lunn.ch> References: <20171106215653.32691-1-miquel.raynal@free-electrons.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "David S. Miller" , Thomas Petazzoni , Gregory Clement , Antoine Tenart , Nadav Haklai , netdev@vger.kernel.org, Stefan Chulski , Florian Fainelli To: Miquel Raynal Return-path: Received: from vps0.lunn.ch ([185.16.172.187]:45224 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751767AbdKFWxt (ORCPT ); Mon, 6 Nov 2017 17:53:49 -0500 Content-Disposition: inline In-Reply-To: <20171106215653.32691-1-miquel.raynal@free-electrons.com> Sender: netdev-owner@vger.kernel.org List-ID: On Mon, Nov 06, 2017 at 10:56:53PM +0100, Miquel Raynal wrote: > Add ethtool statistics support by reading the GOP statistics from the > hardware counters. Also implement a workqueue to gather the statistics > every second or some 32-bit counters could overflow. > > Suggested-by: Stefan Chulski > Signed-off-by: Miquel Raynal Reviewed-by: Andrew Lunn Andrew