Thread (10 messages) 10 messages, 4 authors, 15h ago

Re: [PATCH net 2/2] net: macb: mask TXUBR during TX NAPI poll to prevent IRQ storms

From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: 2026-07-06 15:05:54
Also in: linux-rt-devel, lkml, stable

On 2026-07-06 16:02:15 [+0200], Christian Taedcke via B4 Relay wrote:
From: Christian Taedcke <redacted>

macb_interrupt() defers TX completion handling to NAPI, but when it
schedules the poll it only masks TCOMP, even though TXUBR is enabled
alongside it (both are part of MACB_TX_INT_FLAGS). macb_tx_poll() is
asymmetric in the same way and only re-enables TCOMP. TXUBR is thus
left unmasked while responsibility for handling it has been deferred
to NAPI.
So this is not a race condition, this is always a failure?

Sebastian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help