[PATCH net v3] net: spacemit: Check for netif_carrier_ok() in emac_stats_update()
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Mon Jan 26 20:00:09 PST 2026
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba at kernel.org>:
On Fri, 23 Jan 2026 11:52:23 +0800 you wrote:
> Some PHYs stop the refclk for power saving, usually while link down.
> This causes reading stats to time out.
>
> Therefore, in emac_stats_update(), also don't update and reschedule if
> !netif_carrier_ok(). But that means we could be missing later updates if
> the link comes back up, so also reschedule when link up is detected in
> emac_adjust_link().
>
> [...]
Here is the summary with links:
- [net,v3] net: spacemit: Check for netif_carrier_ok() in emac_stats_update()
https://git.kernel.org/netdev/net/c/2c84959167d6
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the linux-riscv
mailing list