From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B3AB03EDE5B; Thu, 14 May 2026 14:07:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778767652; cv=none; b=nigr2/eS/ZBV3g8tYEhAybKdQCRUw92Mbwpqt5BYw2JkCllt+kN//rk6zV5BsztibaSczFSP2ZkLOR1q230H/tHw5PD/T6g60rpoB146M6IiQH7/qNwVDHprrO1UVSRyNL/TLZTa3g6icsRBfYjtKEZ7KwUHtmlE2z+lf18+RdI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778767652; c=relaxed/simple; bh=J1Opdc0EHVNMANR5k+PJHgrAhg+j7WWqVi39gQsYVK8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=RMBZgWuLF8fzMzpjwhm76xwX8rqvv90VIKW3pCxkY6FgDv2PGmD/Fg/yM1qXMb0U9uv8Fqoo8yTo6DVU/zuIbXd7wEGMrlR+PEFzdUWv5yrilT1D0q+ya9+7lVh3JTqcTVgNbuUuPi3OzlL2vu9hTno3pdRxz1LYk/6ct25Q464= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=TkZxqnbd; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="TkZxqnbd" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=f2AaBkQmwN0Tpwjnhfs4Hs9nUKjH6yTFtxsYOYrSQT4=; b=TkZxqnbd/TmUTd8OqaDzhRHGT1 5ubAVteStBwx+lU8eNprY02GzhpWiTmu/rEiYr4Ud7ne5o2+f8mxdT1cZ/gwVfBY+ckXbU4nEYS2d mWzXZilBiocwH6MSK/BJ3HRsKQdqS4xCvQ13oy9MHzEovfEeeKW9K2GWwAGZeS0gcsJU=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1wNWij-002umu-7a; Thu, 14 May 2026 16:07:25 +0200 Date: Thu, 14 May 2026 16:07:25 +0200 From: Andrew Lunn To: Maxime Chevallier Cc: davem@davemloft.net, Jakub Kicinski , Eric Dumazet , Paolo Abeni , Russell King , Heiner Kallweit , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, Christophe Leroy , Herve Codina , Florian Fainelli , Vladimir Oltean , =?iso-8859-1?Q?K=F6ry?= Maincent , Marek =?iso-8859-1?Q?Beh=FAn?= , Oleksij Rempel , =?iso-8859-1?Q?Nicol=F2?= Veronese , Simon Horman , mwojtas@chromium.org, Romain Gantois , Daniel Golle , Dimitri Fedrau , Frank Wunderlich Subject: Re: [PATCH net-next v10 9/9] net: ethtool: Introduce ethtool command to list ports Message-ID: <793006fa-9d80-4d9b-bee2-df0ee11bd6f3@lunn.ch> References: <20260513130521.1064094-1-maxime.chevallier@bootlin.com> <20260513130521.1064094-10-maxime.chevallier@bootlin.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260513130521.1064094-10-maxime.chevallier@bootlin.com> On Wed, May 13, 2026 at 03:05:20PM +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 Reviewed-by: Andrew Lunn Andrew