From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751870AbdHBXty (ORCPT ); Wed, 2 Aug 2017 19:49:54 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:32776 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751073AbdHBXtx (ORCPT ); Wed, 2 Aug 2017 19:49:53 -0400 Date: Wed, 02 Aug 2017 16:49:51 -0700 (PDT) Message-Id: <20170802.164951.1316163070425929253.davem@davemloft.net> To: f.fainelli@gmail.com Cc: netdev@vger.kernel.org, andrew@lunn.ch, vivien.didelot@savoirfairelinux.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next] net: dsa: Add support for 64-bit statistics From: David Miller In-Reply-To: <20170801220036.11355-1-f.fainelli@gmail.com> References: <20170801220036.11355-1-f.fainelli@gmail.com> X-Mailer: Mew version 6.7 on Emacs 25.2 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 02 Aug 2017 16:49:52 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Florian Fainelli Date: Tue, 1 Aug 2017 15:00:36 -0700 > DSA slave network devices maintain a pair of bytes and packets counters > for each directions, but these are not 64-bit capable. Re-use > pcpu_sw_netstats which contains exactly what we need for that purpose > and update the code path to report 64-bit capable statistics. > > Signed-off-by: Florian Fainelli Applied, thanks. I would run ethtool -S and ifconfig under perf to see where it is spending so much time.