net: stmmac: add ethtool per-queue irq statistic support
authorVijayakannan Ayyathurai <vijayakannan.ayyathurai@intel.com>
Mon, 16 Aug 2021 06:16:00 +0000 (14:16 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Aug 2021 10:36:04 +0000 (11:36 +0100)
commitaf9bf70154eb5ad36d638eb3ab7aa1f834673b3a
tree3e10162632237263f08e030e33843dff378c1f11
parent68e9c5dee1cf9f5651a894a151d72b7fc21172d3
net: stmmac: add ethtool per-queue irq statistic support

Adding ethtool per-queue statistics support to show number of interrupts
generated at DMA tx and DMA rx. All the counters are incremented at
dwmac4_dma_interrupt function.

Signed-off-by: Vijayakannan Ayyathurai <vijayakannan.ayyathurai@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/common.h
drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c
drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c