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=-10.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham 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 742F2C432BE for ; Mon, 16 Aug 2021 10:54:35 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3FF9261C16 for ; Mon, 16 Aug 2021 10:54:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 3FF9261C16 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=7j2P+JwDbUtkHXNsFgf8j7cn1aQbPjwTMmXr6riA4Qc=; b=yfF1pFLUktlFqI yXeRUVzVK46mOscrrmlMvpW/SjjCOuwwCbLnUmGe4EWnAMgpHH6p4aSP1r66mFidK5DeGoVfPsvm9 BfyEOyLqOJL77FPZuIkU7m97ghfg14Hm7o+vo/TmI9b6Ke65Y6RSoUSNBiQEuDdXOCCSoA26cwJB2 IOekXFJ5Z3nugA03nIxaFYTgCuSc4LSsIE8la6RQyQEeonnZF177oQYknvJpHE4R8d5OjJ3qUXmax +NggZH5GIKYdBi9ZGm6Gacc03h0dPYkO9smaNSI+JR99wJHOvzAcsQ7xO1o8/i6AaFC2sALmtLLOE Q93OvXoEUNet9J5JB6ug==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mFaEc-00GkfJ-Qu; Mon, 16 Aug 2021 10:52:51 +0000 Received: from mga01.intel.com ([192.55.52.88]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mFaCa-00GjVI-Bm for linux-arm-kernel@lists.infradead.org; Mon, 16 Aug 2021 10:50:45 +0000 X-IronPort-AV: E=McAfee;i="6200,9189,10077"; a="237901108" X-IronPort-AV: E=Sophos;i="5.84,324,1620716400"; d="scan'208";a="237901108" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Aug 2021 03:50:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,324,1620716400"; d="scan'208";a="530423882" Received: from linux.intel.com ([10.54.29.200]) by fmsmga002.fm.intel.com with ESMTP; 16 Aug 2021 03:50:43 -0700 Received: from linux.intel.com (vwong3-iLBPG3.png.intel.com [10.88.229.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by linux.intel.com (Postfix) with ESMTPS id 571FE5808DB; Mon, 16 Aug 2021 03:50:40 -0700 (PDT) Date: Mon, 16 Aug 2021 18:50:37 +0800 From: Wong Vee Khee To: Vijayakannan Ayyathurai Cc: peppe.cavallaro@st.com, alexandre.torgue@foss.st.com, joabreu@synopsys.com, davem@davemloft.net, kuba@kernel.org, mcoquelin.stm32@gmail.com, vee.khee.wong@intel.com, weifeng.voon@intel.com, netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v1 2/3] net: stmmac: add ethtool per-queue statistic framework Message-ID: <20210816105037.GA11930@linux.intel.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210816_035044_714646_5FE2D65A X-CRM114-Status: GOOD ( 17.53 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Aug 16, 2021 at 02:15:59PM +0800, Vijayakannan Ayyathurai wrote: > Adding generic ethtool per-queue statistic framework to display the > statistics for each rx/tx queue. In future, users can avail it to add > more per-queue specific counters. Number of rx/tx queues displayed is > depending on the available rx/tx queues in that particular MAC config > and this number is limited up to the MTL_MAX_{RX|TX}_QUEUES defined > in the driver. > > Ethtool per-queue statistic display will look like below, when users > start adding more counters. > > Example: > q0_tx_statA: > q0_tx_statB: > q0_tx_statC: > | > q0_tx_statX: > . > . > . > qMAX_tx_statA: > qMAX_tx_statB: > qMAX_tx_statC: > | > qMAX_tx_statX: > > q0_rx_statA: > q0_rx_statB: > q0_rx_statC: > | > q0_rx_statX: > . > . > . > qMAX_rx_statA: > qMAX_rx_statB: > qMAX_rx_statC: > | > qMAX_rx_statX: > > In addition, this patch has the support on displaying the number of > packets received and transmitted per queue. > Acked-by: Wong Vee Khee > Signed-off-by: Vijayakannan Ayyathurai > --- _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel