[PATCH net v3 1/2] net: airoha: handle RX_NO_CPU_DSCP interrupt, not just RX_DONE
Jakub Kicinski
kuba at kernel.org
Thu Sep 3 17:35:29 PDT 2026
On Tue, 1 Sep 2026 19:32:53 +0100 Vitaliy Sochnev wrote:
> Whether NO_CPU_DSCP re-latches while the ring is still empty is not
> documented. If it does, a ring that cannot be refilled (page_pool
> returning NULL) keeps reasserting it. Masking it until a refill succeeds
> is worse: a starved ring never fires RX_DONE either, so it would stay
> dead after the memory pressure clears.
Since you're not sure you should probably add a timer to retry
later? Maybe the IRQ is not needed at all, you could just check
on allocation failure if the right is completely drained or have
a periodic task a'la fbnic_napi_depletion_check()
More information about the Linux-mediatek
mailing list