net: phylink: add debug for phy_config_inband()
Subsystems (4)
PATCH 1/1 net: phylink: add debug for phy_config_inband()
Add debug for the phy_config_inband() call so we can see which inband modes are being configured at the PHY.
Signed-off-by Russell King (Oracle) <[email protected]>
--- drivers/net/phy/phylink.c | 7 +++++++ 1 file changed, 7 insertions(+)
drivers/net/phy/phylink.c +7 -0
@@ -1341,6 +1341,13 @@ static void phylink_major_config(struct phylink *pl, bool restart, }if (pl->phydev && pl->phy_ib_mode) { +phylink_dbg (pl,"configuring PHY for inband%s%s%s\n" , + pl->phy_ib_mode &LINK_INBAND_DISABLE ? +" disable" :"" , + pl->phy_ib_mode &LINK_INBAND_ENABLE ? +" enable" :"" , + pl->phy_ib_mode &LINK_INBAND_BYPASS ? +" bypass" :"" ); err =phy_config_inband (pl->phydev, pl->phy_ib_mode);if (err <0 ) { phylink_err(pl, "phy_config_inband: %pe\n",
Signature · 1 line
2.47.3
Quoted 4 lines · Russell King (Oracle)
Add debug for the
phy_config_inband()call so we can see which inband modes are being configured at the PHY.Signed-off-by Russell King (Oracle) <[email protected]>
Ah, useful indeed !
Reviewed-by Maxime Chevallier <[email protected]>
Maxime
Quoted 22 lines
--- drivers/net/phy/phylink.c | 7 +++++++ 1 file changed, 7 insertions(+)drivers/net/phy/phylink.c +7
-0@@ -1341,6 +1341,13 @@ static void phylink_major_config(struct phylink *pl, bool restart, }if (pl->phydev && pl->phy_ib_mode) { +phylink_dbg (pl,"configuring PHY for inband%s%s%s\n" , + pl->phy_ib_mode &LINK_INBAND_DISABLE ? +" disable" :"" , + pl->phy_ib_mode &LINK_INBAND_ENABLE ? +" enable" :"" , + pl->phy_ib_mode &LINK_INBAND_BYPASS ? +" bypass" :"" ); err =phy_config_inband (pl->phydev, pl->phy_ib_mode);if (err <0 ) { phylink_err(pl, "phy_config_inband: %pe\n",
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 7 lines · On Wed, 18 Mar 2026 08:27:44 +0000 you wrote:
Add debug for the
phy_config_inband()call so we can see which inband modes are being configured at the PHY.Signed-off-by Russell King (Oracle) <[email protected]>--- drivers/net/phy/phylink.c | 7 +++++++ 1 file changed, 7 insertions(+)
Here is the summary with links:
- [net-next] net: phylink: add debug for phy_config_inband()
https://git.kernel.org/netdev/net-next/c/eb2415854f3b
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html