Commit 1103d3a5531c ("net: stmmac: dwmac4: Also use TBU interrupt to clean TX path") made dwmac4_dma_interrupt() report TBU as TX work. TBUE is not in the default DMA interrupt mask and only enabled bits are cleared, so TBU stays set on every idle TX channel. With a shared interrupt, stmmac_dma_interrupt() checks all channels. Every interrupt then schedules TX NAPI on every idle TX channel. Only use TI to trigger TX processing, as commit 305deb54c6c2 ("net: stmmac: xgmac: do not treat TBU as a TX event") did for xgmac. The author of that commit pointed out that dwmac4 has the same problem [1]. On a YT6801 forced to a single MSI, throughput, ping and interrupt rate did not change (5 runs each). Link: https://lore.kernel.org/netdev/20261014045607.3421104-1-zhangfeionline@gmail.com/ [1] Signed-off-by: Johan Alvarado --- drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c b/drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c index 02aa1a3dd1e2..55ca17233234 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c @@ -188,8 +188,6 @@ int dwmac4_dma_interrupt(struct stmmac_priv *priv, void __iomem *ioaddr, ret |= handle_tx; } - if (unlikely(intr_status & DMA_CHAN_STATUS_TBU)) - ret |= handle_tx; if (unlikely(intr_status & DMA_CHAN_STATUS_ERI)) x->rx_early_irq++; -- 2.56.1