[PATCH net] net: stmmac: retry a failed RX refill from a timer
Nicolai Buchwitz
nb at tipi-net.de
Sun Nov 22 10:01:11 PST 2026
Hi Anandu
On 20.11.2026 08:49, Anandu Padinhare wrote:
> [...]
> @@ -6164,6 +6205,8 @@ static int stmmac_napi_poll_rx(struct napi_struct
> *napi, int budget)
> u64_stats_update_end(&rxq_stats->napi_syncp);
>
> work_done = stmmac_rx(priv, budget, chan);
> + if (unlikely(stmmac_rx_refill_needed(priv, chan)))
> + stmmac_rx_refill_timer_arm(ch);
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?
> [...]
Regards,
Nicolai
More information about the linux-arm-kernel
mailing list