[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250523134515.GY365796@horms.kernel.org>
Date: Fri, 23 May 2025 14:45: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>,
Linu Cherian <lcherian@...vell.com>,
Geetha sowjanya <gakula@...vell.com>,
Jerin Jacob <jerinj@...vell.com>,
Subbaraya Sundeep <sbhatta@...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>,
Bharat Bhushan <bbhushan2@...vell.com>
Subject: Re: [net-next PatchV2] octeontx2-pf: ethtool: Display "Autoneg" and
"Port" fields
On Fri, May 23, 2025 at 04:56:38PM +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 updates the shared firmware data to include additional
> fields like 'Autonegotiation' and 'Port type'.
>
> ethtool eth1
>
> Settings for eth1:
> Supported ports: [ ]
> Supported link modes: 10baseT/Half 10baseT/Full
> 100baseT/Half 100baseT/Full
> 1000baseT/Half 1000baseT/Full
> 10000baseT/Full
> 10000baseKR/Full
> 1000baseX/Full
> 10000baseSR/Full
> 10000baseLR/Full
> Supported pause frame use: No
> Supports auto-negotiation: Yes
> Supported FEC modes: BaseR
> Advertised link modes: Not reported
> Advertised pause frame use: No
> Advertised auto-negotiation: Yes
> Advertised FEC modes: BaseR
> Speed: 10000Mb/s
> Duplex: Full
> Port: AUI
> PHYAD: 0
> Transceiver: internal
> Auto-negotiation: off
> Current message level: 0x00000000 (0)
>
> Link detected: yes
>
> Signed-off-by: Hariprasad Kelam <hkelam@...vell.com>
> ---
> V2* Add validation for 'port' parameter
> include full output of ethtool ethx
Reviewed-by: Simon Horman <horms@...nel.org>
Powered by blists - more mailing lists