[PATCH net] net: stmmac: retry a failed RX refill from a timer

Anandu Padinhare Anandu.Padinhare at electrifex.com
Sun Nov 22 22:24:34 PST 2026


On 22.11.2026 23:14, Nicolai Buchwitz wrote:
> Agreed, simpler than refill in the loop. If stmmac_rx() stopped at
> dirty_rx and the refill worked, return the full budget so NAPI polls
> again.
>
> Anandu, could you fold that into v2?

Yes, thanks Nicolai and Sam. v2 will do that, and will also check
dirty_rx before reading the descriptor status, so a retry does not
count that frame again (the Medium item from Sashiko). Refill inside
the loop I'll leave out of this fix.

I'll test it on the SC598 and then post v2.

Regards,
Anandu

pw-bot: cr


More information about the linux-arm-kernel mailing list