[PATCH net 0/2] net: stmmac: Track and report the TX DMA threshold per queue
Ovidiu Panait
ovidiu.panait.rb at renesas.com
Tue Oct 13 04:45:01 PDT 2026
On the Renesas RZ/V2H platform, which has two dwmac4 controllers, we
observed sporadic iperf3 TCP TX failures on one of the controllers, with
throughput dropping from >900Mbit/s to ~1Mbit/s due to TX underflows and
the resulting retransmissions.
Commit 3a6c12a0c6c3 ("net: stmmac: bump tc when get underflow error from
DMA descriptor") made dwmac4 raise the DMA threshold of the queues that
report TX underflows, by increasing a global module parameter 'tc'.
However, this logic does not work correctly across multiple queues and
controllers, and can leave the TX DMA threshold stuck at 64 bytes.
This series fixes that logic to track and report the TX DMA threshold per
queue for each controller.
Ovidiu Panait (2):
net: stmmac: Track the TX DMA threshold per queue
net: stmmac: Report the TX DMA threshold per queue
drivers/net/ethernet/stmicro/stmmac/common.h | 1 -
drivers/net/ethernet/stmicro/stmmac/stmmac.h | 1 +
.../ethernet/stmicro/stmmac/stmmac_ethtool.c | 3 +-
.../net/ethernet/stmicro/stmmac/stmmac_main.c | 33 ++++++++++---------
4 files changed, 21 insertions(+), 17 deletions(-)
--
2.34.1
More information about the linux-arm-kernel
mailing list