Message ID | 20231113110708.137379-1-rogerq@kernel.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b909:0:b0:403:3b70:6f57 with SMTP id t9csp1127095vqg; Mon, 13 Nov 2023 03:07:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IEXo/nueP1FyGf48XUPV154uRecUXXVqLVVBA3sO3zew6co74ydkFq1iEvO4uT5pTrjYB4B X-Received: by 2002:a17:90b:3e87:b0:280:19b8:83a6 with SMTP id rj7-20020a17090b3e8700b0028019b883a6mr7430045pjb.13.1699873646631; Mon, 13 Nov 2023 03:07:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699873646; cv=none; d=google.com; s=arc-20160816; b=hR1O9t5R9mYMwpppRiUxMmWEpxjGN837pTcQlyeolOOI4iKcfyahilpBrf68uFQPRZ G5TjQwFqz5irb1DYH3t1xPNxRr0+R77cunBs61UTOVrqsUgeY2Dl0Cs3BtOt8xv3y6Ku zEgcHXSgO3wR5ERacf/RHtrtp5YGmfOb9s451omOjBvby5T3NLF/vO4e/cTscQdS+m6V c5O93Igy0Kyv2xwPKd7b0APyu8wsDerM/f2C+WWws+vOOpkvM0tMPmX2SHMVI6ydmG3b W8/ubtqqJijwrYWkVl5ZYjLkeY6ofq3M0UI91MBaEVJI3J/tDMUl3iNS01Lvp19J0I3u ZRbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=+vIrGrUyTM9z/az4taCUNc8NkoJZjkcfzqyyeyzp7pA=; fh=5XVN7hYDrjkwKFw4bFXRK8oy6VkSo1QEqyD70rM4SXo=; b=TQLWcGeLAfSmK2i2r/mzTZY9EpTr10fElK30dLAJcG8zwWZ3JuxAGXeo0ZBi4+lf7x KXYi8V4cfO3798vAaXhtOm9FFge0mEE09ELV+Ssx7H+ttwgZlNXNiEZx9gNACzdDwL2t pWugyHyelShXfQoTDP3vCvypKRhRhKpkyjckQ5DTynjKMIFBOERW2IleOX2m47VzjV5A I/rBbWOEVEeEX0Ak7yXtiwV3JLsTQsON0qMIjOfeqoxxQ3UqN9MJ8S1dS4ZMN1FIamHv da3gQrtJ0fd/oYuUCE9j5IRLztPvklJkNHllF4ZkIsG2Y9Py7QDePeKCJ1SbVNe/AUF8 7ZEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OIHfP10c; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id dj8-20020a17090ad2c800b002800b13adb7si5945178pjb.72.2023.11.13.03.07.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Nov 2023 03:07:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OIHfP10c; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id B6FFC809E72E; Mon, 13 Nov 2023 03:07:25 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229761AbjKMLHV (ORCPT <rfc822;heyuhang3455@gmail.com> + 29 others); Mon, 13 Nov 2023 06:07:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229470AbjKMLHT (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 13 Nov 2023 06:07:19 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C06E10D0 for <linux-kernel@vger.kernel.org>; Mon, 13 Nov 2023 03:07:17 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 04B44C433C8; Mon, 13 Nov 2023 11:07:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1699873636; bh=LOxeX+UITP7Q9EMFXfOWnEfl7vySqq501b5Bmi7TWxs=; h=From:To:Cc:Subject:Date:From; b=OIHfP10cxjLlEAG/lFBprQv9qyUl5hAePRX09MAq3bXb6LdqmMGTDT2Fd43rNRbN4 bWRdSYjYK+8dgR6cJ/gMNhmgtsGxxRgNZ9qPriYha58VwzIgFl7h3TPL8xd26UM7LC sflf6WDkcxuPQmqjM4nWZNNxCPKAJfKHl7wDJNoKXIlbGkkYUAh0UDsOU+E1TvO0TQ 1bm/HiAW6kIKdyAmoPBe2ViNu8iyczM6frz0NtSuQ30dkrQSkfTb4rbgOs4RV/GhlW ndAUCuqy/rQRlISWmbeDrbnAnwJkaKl64Oh/d+XpmE2YxcoiYIh3weeFX4D1QFFEmE bW0UCtbPrngDA== From: Roger Quadros <rogerq@kernel.org> To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: vladimir.oltean@nxp.com, s-vadapalli@ti.com, r-gunasekaran@ti.com, srk@ti.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Roger Quadros <rogerq@kernel.org> Subject: [PATCH net-next 0/3] net: ethernet: am65-cpsw: Add ethtool standard MAC stats Date: Mon, 13 Nov 2023 13:07:05 +0200 Message-Id: <20231113110708.137379-1-rogerq@kernel.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 13 Nov 2023 03:07:25 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782446708880777610 X-GMAIL-MSGID: 1782446708880777610 |
Series |
net: ethernet: am65-cpsw: Add ethtool standard MAC stats
|
|
Message
Roger Quadros
Nov. 13, 2023, 11:07 a.m. UTC
Hi, Gets 'ethtool -S eth0 --groups eth-mac' command to work. Also set default TX channels to maximum available. cheers, -roger Roger Quadros (3): net: ethernet: am65-cpsw: Add standard Ethernet MAC stats to ethtool net: ethernet: am65-cpsw: Set default TX channels to maximum net: ethernet: am65-cpsw: Error out if Enable TX/RX channel fails drivers/net/ethernet/ti/am65-cpsw-ethtool.c | 26 +++++++++++++++ drivers/net/ethernet/ti/am65-cpsw-nuss.c | 37 ++++++++++++++++----- 2 files changed, 55 insertions(+), 8 deletions(-) base-commit: 89cdf9d556016a54ff6ddd62324aa5ec790c05cc