[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250725131314.GD1367887@horms.kernel.org>
Date: Fri, 25 Jul 2025 14:13:15 +0100
From: Simon Horman <horms@...nel.org>
To: Hariprasad Kelam <hkelam@...vell.com>
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
Sunil Goutham <sgoutham@...vell.com>,
Geetha sowjanya <gakula@...vell.com>,
Subbaraya Sundeep <sbhatta@...vell.com>,
Bharat Bhushan <bbhushan2@...vell.com>,
Andrew Lunn <andrew+netdev@...n.ch>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>
Subject: Re: [net-next PatchV3] Octeontx2-pf: ethtool: Display "Autoneg" and
"Port" fields
On Thu, Jul 24, 2025 at 03:40:57PM +0530, Hariprasad Kelam wrote:
> The Octeontx2/CN10k netdev drivers access a shared firmware structure
> to obtain link configuration details, such as supported and advertised
> link modes. This patch adds support to display the same.
>
> ethtool eth1
> Settings for eth1:
> Supported ports: [ ]
> Supported link modes: 10000baseCR/Full
> 10000baseSR/Full
> 10000baseLR/Full
> Supported pause frame use: No
> Supports auto-negotiation: Yes
> Supported FEC modes: None
> Advertised link modes: Not reported
> Advertised pause frame use: No
> Advertised auto-negotiation: Yes
> Advertised FEC modes: None
> Speed: 10000Mb/s
> Duplex: Full
> Port: Twisted Pair
> PHYAD: 0
> Transceiver: internal
> Auto-negotiation: on
> MDI-X: Unknown
> Current message level: 0x00000000 (0)
> Link detected: yes
>
> Signed-off-by: Hariprasad Kelam <hkelam@...vell.com>
> ---
> V3 * Fix port types in firmware
>
> V2 * Add validation for 'port' parameter
> include full output of ethtool ethx
Thanks, I believe this addresses Jakub's review of v2.
Reviewed-by: Simon Horman <horms@...nel.org>
Powered by blists - more mailing lists