Re: [PATCH v4] net: mii: Fix the Speed display when the network cable is not connected

From: patchwork-bot+netdevbpf
Date: Mon Jan 20 2025 - 15:10:24 EST


Hello:

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

On Fri, 17 Jan 2025 17:46:03 +0800 you wrote:
> Two different models of usb card, the drivers are r8152 and asix. If no
> network cable is connected, Speed = 10Mb/s. This problem is repeated in
> linux 3.10, 4.19, 5.4, 6.12. This problem also exists on the latest
> kernel. Both drivers call mii_ethtool_get_link_ksettings,
> but the value of cmd->base.speed in this
> function can only be SPEED_1000 or SPEED_100 or SPEED_10.
> When the network cable is not connected, set cmd->base.speed
> =SPEED_UNKNOWN.
>
> [...]

Here is the summary with links:
- [v4] net: mii: Fix the Speed display when the network cable is not connected
https://git.kernel.org/netdev/net-next/c/f6f2e946aa4d

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html