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

From: Andrew Lunn

Date: Mon Sep 14 2026 - 21:34:52 EST


On Thu, Sep 10, 2026 at 07:00:58PM +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