Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7205532rwb; Tue, 15 Nov 2022 09:00:26 -0800 (PST) X-Google-Smtp-Source: AA0mqf6XRW+iNCiqyI3j548dNIDBVlsAtvGGNe5n0Unly56MmXMMv3TPHiDBd6Z3+n/Uw/p5Pwr2 X-Received: by 2002:a05:6402:1343:b0:459:4e32:e1b5 with SMTP id y3-20020a056402134300b004594e32e1b5mr15567356edw.424.1668531626492; Tue, 15 Nov 2022 09:00:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668531626; cv=none; d=google.com; s=arc-20160816; b=jFhwAq3RgxLOuu3wJ2cA4Mx3tjL8YOWvfwP20PD2NXqXW+1r5AoIW/xfh7HdNmXN6v TjWyNQ5vGNCVf9BfZiCqw/hCsouZll+opoLtItFfzNsNmTpPy1x6N/IFhpyFoqVsP8s3 YZMz5KqXhru+gumeT931XMsLU7H9D6pwtrw6oTD6wZ8qU8x4cx9RCeqLcxcNi4ZvXGbU fjHdjNay6LPJVkMMpOiUn/w9KMfkVdOfSUIIj/WS7XHmTG5czpAyaZOBkyxUkDT9G/l0 7v4UejkVy7pOmoZpFaBITyGfLp5Cx/W519RuA1Jf7DqgaCWCYClM3slGHYnR66nIZrnI fsSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:to:from :dkim-signature; bh=fedBdn9xMJv7GnwYRuZLpK1l0U0+vt5sIYvAVSviDy8=; b=cE8ETPwTt1xUvFYDoYzh8DtuT6HyN2ZPPcRsbwL524YR/6jtrhyn8u1jxNJUQ9l1Pt BJhU2pBzqYtYSldrufosmneS2THQeEfjgZcq0/WqTybGKJx7LwmcxrE5+4FooqF6ccA6 we/vtepoakMTR+Y54Hds2ujsoo1vnFFdAy3xUizH6jKzw7RKwkoSluV/xYw3ui/T8Yjb h1tye7rh93ehE+Ggwy8+Jh0DZTf38kRFv232wli3CLYxM5pyy6vWgazceD680rd6prbs NzVlcoq1ox3HEEAuWzoTQDKMpmHw3QWBgGDeQAnTKIcbFs+UMxjNmsEPEplxZcA+OxjI d1Ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=Les+63OU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hp16-20020a1709073e1000b0078daf101aa1si14530208ejc.813.2022.11.15.09.00.02; Tue, 15 Nov 2022 09:00:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=Les+63OU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232041AbiKOQvj (ORCPT + 91 others); Tue, 15 Nov 2022 11:51:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229663AbiKOQvi (ORCPT ); Tue, 15 Nov 2022 11:51:38 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61EA460C1; Tue, 15 Nov 2022 08:51:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1668531097; x=1700067097; h=from:to:subject:date:message-id:mime-version; bh=M037HZoZIJZwjrgxuGpwa/KRgNyMbZlaFJUwnENLVUo=; b=Les+63OUjl4x2Xk2lmk5hyHHWuJ2BUe+TpLqsJt+BJrWKILL7bv8AhnN oeL+IU9ZwFXfG0ZebwzO5Fo+nagzdWpv2/7GNHdRZcX9n7jxrvNllJAc9 dYPDLHL5Wrckh75rWlE87jMnoRga9eYV2pN32KaMjg05+S8l2Fiqip4SC R6HwHfel+oIEMXb9G7lm9sPIIZhCDwaYTXxsmooY7LTZT6O4x6ySpuhcL nT0L+hlaiaXU1/Jfte9zkZ4rPr/MHFfZMBnizgg5kYN5xyUMhR4M9HKhZ pwDOHzdOU5aelYGcLjs1Pqg1fcGt6O/qSfKF1xMW3HjlBfaWCINVnTb5y w==; X-IronPort-AV: E=Sophos;i="5.96,166,1665471600"; d="scan'208";a="189129273" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 15 Nov 2022 09:51:37 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Tue, 15 Nov 2022 09:51:36 -0700 Received: from AUS-LT-C33025.microchip.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Tue, 15 Nov 2022 09:51:33 -0700 From: Jerry Ray To: Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , "Paolo Abeni" , , , Jerry Ray Subject: [net-next][PATCH v2 1/2] dsa: lan9303: Change stat name Date: Tue, 15 Nov 2022 10:51:30 -0600 Message-ID: <20221115165131.11467-1-jerry.ray@microchip.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch changes the reported ethtool statistics for the lan9303 family of parts covered by this driver. The TxUnderRun statistic label is renamed to RxShort to accurately reflect what stat the device is reporting. I did not reorder the statistics as that might cause problems with existing user code that are expecting the stats at a certain offset. Signed-off-by: Jerry Ray --- v1->v2: Split patch into 2 pieces. --- drivers/net/dsa/lan9303-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/dsa/lan9303-core.c b/drivers/net/dsa/lan9303-core.c index 438e46af03e9..80f07bd20593 100644 --- a/drivers/net/dsa/lan9303-core.c +++ b/drivers/net/dsa/lan9303-core.c @@ -961,7 +961,7 @@ static const struct lan9303_mib_desc lan9303_mib[] = { { .offset = LAN9303_MAC_TX_BRDCST_CNT_0, .name = "TxBroad", }, { .offset = LAN9303_MAC_TX_PAUSE_CNT_0, .name = "TxPause", }, { .offset = LAN9303_MAC_TX_MULCST_CNT_0, .name = "TxMulti", }, - { .offset = LAN9303_MAC_RX_UNDSZE_CNT_0, .name = "TxUnderRun", }, + { .offset = LAN9303_MAC_RX_UNDSZE_CNT_0, .name = "RxShort", }, { .offset = LAN9303_MAC_TX_64_CNT_0, .name = "Tx64Byte", }, { .offset = LAN9303_MAC_TX_127_CNT_0, .name = "Tx128Byte", }, { .offset = LAN9303_MAC_TX_255_CNT_0, .name = "Tx256Byte", }, -- 2.17.1