lkml.org 
[lkml]   [2021]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH net-next v1 2/3] net: stmmac: add ethtool per-queue statistic framework
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 <vee.khee.wong@linux.intel.com>

> Signed-off-by: Vijayakannan Ayyathurai <vijayakannan.ayyathurai@intel.com>
> ---

\
 
 \ /
  Last update: 2021-08-16 12:51    [W:0.123 / U:0.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site