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.3 required=3.0 tests=BAYES_00, 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 18EB0C4338F for ; Mon, 16 Aug 2021 10:50:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E7BD161BE2 for ; Mon, 16 Aug 2021 10:50:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235798AbhHPKvR (ORCPT ); Mon, 16 Aug 2021 06:51:17 -0400 Received: from mga12.intel.com ([192.55.52.136]:46497 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230250AbhHPKvP (ORCPT ); Mon, 16 Aug 2021 06:51:15 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10077"; a="195422586" X-IronPort-AV: E=Sophos;i="5.84,324,1620716400"; d="scan'208";a="195422586" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga106.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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.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 > ---