Re: [PATCH net-next v1] net: microchip: lan743x: add fixed phy unregister support

From: patchwork-bot+netdevbpf
Date: Sun Sep 17 2023 - 07:06:03 EST


Hello:

This patch was applied to netdev/net-next.git (main)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Thu, 14 Sep 2023 11:47:37 +0530 you wrote:
> When operating in fixed phy mode and if there is repeated open/close
> phy test cases, everytime the fixed phy is registered as a new phy
> which leads to overrun after 32 iterations. It is solved by adding
> fixed_phy_unregister() in the phy_close path.
>
> In phy_close path, netdev->phydev cannot be used directly in
> fixed_phy_unregister() due to two reasons,
> - netdev->phydev is set to NULL in phy_disconnect()
> - fixed_phy_unregister() can be called only after phy_disconnect()
> So saving the netdev->phydev in local variable 'phydev' and
> passing it to phy_disconnect().
>
> [...]

Here is the summary with links:
- [net-next,v1] net: microchip: lan743x: add fixed phy unregister support
https://git.kernel.org/netdev/net-next/c/1e73cfe85952

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