Re: [PATCH net-next v17 09/10] net: ethtool: Introduce ethtool command to list ports

From: Andrew Lunn

Date: Fri Sep 25 2026 - 18:50:23 EST


On Wed, Sep 09, 2026 at 11:39:10AM +0200, Maxime Chevallier wrote:
> Expose the phy_port information to userspace, so that we can know how
> many ports are available on a given interface, as well as their
> capabilities. For MDI ports, we report the list of supported linkmodes
> based on what the PHY that drives this port says.
> For MII ports, i.e. empty SFP cages, we report the MII linkmodes that we
> can output on this port.
>
> Signed-off-by: Maxime Chevallier <maxime.chevallier@xxxxxxxxxxx>

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew