Re: [PATCH net-next v11 04/10] net: phy: Create SFP phy_port before registering upstream
From: Maxime Chevallier
Date: Sat May 30 2026 - 03:34:39 EST
Hi,
On 5/21/26 14:10, Maxime Chevallier wrote:
> When dealing with PHY-driven SFP, we create a phy_port representing the
> SFP bus when we know we have such a bus.
>
> We can move the port creation before registering the sfp upstream ops,
> as long as we know the SFP bus is there. This will allow passing the
> phy_port along with the upstream information to the SFP bus.
>
> Reviewed-by: Andrew Lunn <andrew@xxxxxxx>
> Signed-off-by: Maxime Chevallier <maxime.chevallier@xxxxxxxxxxx>
On this patch, sashiko reported a pre-existing issue, with a temptative
fix here :
https://lore.kernel.org/all/20260530072706.3167745-1-maxime.chevallier@xxxxxxxxxxx/
Maxime