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

Nicolai Buchwitz nb at tipi-net.de
Sun Nov 22 12:37:24 PST 2026


On 22.11.2026 21:20, Sam Edwards wrote:
> [...]

>> After a successful retry, doesn't this leave the last received frame 
>> in
>> the ring until the next RX irq? Could the poll refill first?
> 
> Do you mean "first as well" or "first instead"? Because "instead" can

> [...]

> But, "first as well" sounds good to me: before entering the main loop,
> refill 1 buffer (if possible) just to ensure either the IRQ fires
> again immediately (if the FIFO is holding onto another packet for us),
> or the inaccessible ring slot is clean (if the FIFO is empty).

This (first as well).

BR
Nicolai



More information about the linux-arm-kernel mailing list