From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH] net: systemport: Fix software statistics for SYSTEMPORT Lite Date: Tue, 08 Aug 2017 14:54:47 -0700 (PDT) Message-ID: <20170808.145447.1322298332754204935.davem@davemloft.net> References: <20170808213925.26126-1-f.fainelli@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org To: f.fainelli@gmail.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:55574 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751919AbdHHVys (ORCPT ); Tue, 8 Aug 2017 17:54:48 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: From: Florian Fainelli Date: Tue, 8 Aug 2017 14:44:40 -0700 > On 08/08/2017 02:39 PM, Florian Fainelli wrote: >> With SYSTEMPORT Lite we have holes in our statistics layout that make us >> skip over the hardware MIB counters, bcm_sysport_get_stats() was not >> taking that into account, resulting in reporting 0 for all SW-maintained >> statistics, fix this by skipping accordingly. >> >> Fixes: 44a4524c54af ("net: systemport: Add support for SYSTEMPORT Lite") >> Signed-off-by: Florian Fainelli > > David, please ignore this version, I accidentally sent it with the > debugging left. Ok.