Re: [PATCH net-next v17 06/10] net: phy: phy_port: Store information about a port's upstream

From: Andrew Lunn

Date: Fri Sep 25 2026 - 18:36:11 EST


On Wed, Sep 09, 2026 at 11:39:07AM +0200, Maxime Chevallier wrote:
> MII phy_ports are not meant to be connected directly to a link partner.
> They are meant to feed into some media converter devices that will
> expose an MDI phy_port, so far we only support SFP modules for that.
>
> In the case an MDI phy_port is backed by an MII port (e.g. a SFP
> module's port, backed by the SFP cage port), let's keep track of the
> port id of the MII port backing it.
>
> Signed-off-by: Maxime Chevallier <maxime.chevallier@xxxxxxxxxxx>

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew