Re: [net-next PatchV3] Octeontx2-pf: ethtool: Display "Autoneg" and "Port" fields
From: Simon Horman
Date: Fri Jul 25 2025 - 09:14:07 EST
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@xxxxxxxxxxx>
> ---
> 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@xxxxxxxxxx>