From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751967AbdHGE1H (ORCPT ); Mon, 7 Aug 2017 00:27:07 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:50432 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751442AbdHGE1G (ORCPT ); Mon, 7 Aug 2017 00:27:06 -0400 Date: Sun, 06 Aug 2017 21:27:05 -0700 (PDT) Message-Id: <20170806.212705.710269830764257465.davem@davemloft.net> To: f.fainelli@gmail.com Cc: netdev@vger.kernel.org, davem@davemlot.net, andrew@lunn.ch, vivien.didelot@savoirfairelinux.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next] net: dsa: User per-cpu 64-bit statistics From: David Miller In-Reply-To: <20170804043328.4730-1-f.fainelli@gmail.com> References: <20170804043328.4730-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]); Sun, 06 Aug 2017 21:27:06 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Florian Fainelli Date: Thu, 3 Aug 2017 21:33:27 -0700 > During testing with a background iperf pushing 1Gbit/sec worth of > traffic and having both ifconfig and ethtool collect statistics, we > could see quite frequent deadlocks. Convert the often accessed DSA slave > network devices statistics to per-cpu 64-bit statistics to remove these > deadlocks and provide fast efficient statistics updates. > > Signed-off-by: Florian Fainelli Applied with appropriate Fixes: tag added. Thanks.