Re: [PATCH net v2] net: phy: phy_caps: Don't skip better duplex macth on non-exact match

From: patchwork-bot+netdevbpf
Date: Thu Jun 12 2025 - 11:11:21 EST


Hello:

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

On Fri, 6 Jun 2025 11:43:20 +0200 you wrote:
> When performing a non-exact phy_caps lookup, we are looking for a
> supported mode that matches as closely as possible the passed speed/duplex.
>
> Blamed patch broke that logic by returning a match too early in case
> the caller asks for half-duplex, as a full-duplex linkmode may match
> first, and returned as a non-exact match without even trying to mach on
> half-duplex modes.
>
> [...]

Here is the summary with links:
- [net,v2] net: phy: phy_caps: Don't skip better duplex macth on non-exact match
https://git.kernel.org/netdev/net/c/d4e6cb324dcc

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