Re: [PATCH net v3] net: spacemit: Check for netif_carrier_ok() in emac_stats_update()

From: patchwork-bot+netdevbpf

Date: Mon Jan 26 2026 - 23:01:20 EST


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

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