summaryrefslogtreecommitdiff
path: root/LICENSES
diff options
context:
space:
mode:
authorVijayakannan Ayyathurai <vijayakannan.ayyathurai@intel.com>2021-08-16 14:15:59 +0800
committerDavid S. Miller <davem@davemloft.net>2021-08-16 11:36:04 +0100
commit68e9c5dee1cf9f5651a894a151d72b7fc21172d3 (patch)
tree53eb734136812d008517ffdffef60bbfe387ec9b /LICENSES
parent1975df880b959e30f28d66148a12d77b458abd76 (diff)
net: stmmac: add ethtool per-queue statistic framework
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. Signed-off-by: Vijayakannan Ayyathurai <vijayakannan.ayyathurai@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions