Re: [PATCH net v2] net: stmmac: Clear DMA errors for multi-channel interrupts

From: Magnus Leatti

Date: Tue Nov 03 2026 - 12:13:47 EST


On 11/3/26 13:54, Maxime Chevallier wrote:
> The Multi-MSI interrupt handler doesn't clear the DMA error interrupts,
> and this leads to interrupt storms when one of these interrupts starts
> firing :

Retested v2 on the YT6801, same setup as v1: net at cb284914e749, glue
unmodified, so the MISC interrupt stays unmasked.

4x 64-byte UDP RX flood for 10 s, same kernel:

without the patch: the MAC interrupt hits about 93k/s within 4 s,
stays at about 122k/s after the flood stops, and the machine stops
responding.

with v2: about 300/s during the flood, 0 after.

8x 64-byte UDP RX plus TCP TX for 30 s: about 25/s during, 0 after,
with TX at 744 Mbit/s alongside.

The 4x flood also runs clean after link down/up, ring resize, an MTU
change, a 100/1000 speed change and a module reload. Throughput is the
same as with v1 (TCP RX 941, TCP TX 825 Mbit/s).

Tested-by: Magnus Leatti <magnusleatti@xxxxxxxxxxxxxx>