From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next] net: dsa: mv88e6xxx: Fix stats histogram mode Date: Sat, 11 Nov 2017 19:34:58 +0900 (KST) Message-ID: <20171111.193458.1114188275533056503.davem@davemloft.net> References: <1510270601-29963-1-git-send-email-andrew@lunn.ch> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: vivien.didelot@savoirfairelinux.com, cphealy@gmail.com, netdev@vger.kernel.org To: andrew@lunn.ch Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:46552 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751349AbdKKKfD (ORCPT ); Sat, 11 Nov 2017 05:35:03 -0500 In-Reply-To: <1510270601-29963-1-git-send-email-andrew@lunn.ch> Sender: netdev-owner@vger.kernel.org List-ID: From: Andrew Lunn Date: Fri, 10 Nov 2017 00:36:41 +0100 > The statistics histogram mode was not being explicitly initialized on > devices other than the 6390 family. Clearing the statistics then > overwrote the default setting, setting the histogram to a reserved > mode. > > Explicitly set the histogram mode for all devices. Change the > statistics clear into a read/modify/write, and since it is now more > complex, move it into global1.c. > > Signed-off-by: Andrew Lunn Applied, thanks.