From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B78C7C63777 for ; Fri, 27 Nov 2020 22:04:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 80E3B22210 for ; Fri, 27 Nov 2020 22:04:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730248AbgK0WDt (ORCPT ); Fri, 27 Nov 2020 17:03:49 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:53566 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729755AbgK0Vig (ORCPT ); Fri, 27 Nov 2020 16:38:36 -0500 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1kilQ2-009BQa-HE; Fri, 27 Nov 2020 22:36:42 +0100 Date: Fri, 27 Nov 2020 22:36:42 +0100 From: Andrew Lunn To: Vladimir Oltean Cc: Jakub Kicinski , George McCollister , Vivien Didelot , Florian Fainelli , "David S . Miller" , netdev@vger.kernel.org, "open list:OPEN FIRMWARE AND..." Subject: Re: [PATCH net-next v2 2/3] net: dsa: add Arrow SpeedChips XRS700x driver Message-ID: <20201127213642.GZ2073444@lunn.ch> References: <20201125174214.0c9dd5a9@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> <20201126132418.zigx6c2iuc4kmlvy@skbuf> <20201126175607.bqmpwbdqbsahtjn2@skbuf> <20201126220500.av3clcxbbvogvde5@skbuf> <20201127103503.5cda7f24@kicinski-fedora-pc1c0hjn.DHCP.thefacebook.com> <20201127204714.GX2073444@lunn.ch> <20201127131346.3d594c8e@kicinski-fedora-pc1c0hjn.DHCP.thefacebook.com> <20201127212342.qpyp6bcxd7mwgxf2@skbuf> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201127212342.qpyp6bcxd7mwgxf2@skbuf> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org > Either way, can we conclude that ndo_get_stats64 is not a replacement > for ethtool -S, since the latter is blocking and, if implemented correctly, > can return the counters at the time of the call (therefore making sure > that anything that happened before the syscall has been accounted into > the retrieved values), and the former isn't? ethtool -S is the best source of consistent, up to date statistics we have. It seems silly not to include everything the hardware offers there. Andrew