diff options
author | 2021-08-16 14:16:00 +0800 | |
---|---|---|
committer | 2021-08-16 11:36:04 +0100 | |
commit | af9bf70154eb5ad36d638eb3ab7aa1f834673b3a (patch) | |
tree | 3e10162632237263f08e030e33843dff378c1f11 /drivers/net/ethernet/stmicro/stmmac/common.h | |
parent | net: stmmac: add ethtool per-queue statistic framework (diff) | |
download | wireguard-linux-af9bf70154eb5ad36d638eb3ab7aa1f834673b3a.tar.xz wireguard-linux-af9bf70154eb5ad36d638eb3ab7aa1f834673b3a.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/common.h')
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/common.h b/drivers/net/ethernet/stmicro/stmmac/common.h index 79333deef2e2..b6d945ea903d 100644 --- a/drivers/net/ethernet/stmicro/stmmac/common.h +++ b/drivers/net/ethernet/stmicro/stmmac/common.h @@ -60,10 +60,12 @@ struct stmmac_txq_stats { unsigned long tx_pkt_n; + unsigned long tx_normal_irq_n; }; struct stmmac_rxq_stats { unsigned long rx_pkt_n; + unsigned long rx_normal_irq_n; }; /* Extra statistic and debug information exposed by ethtool */ |