[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250520165019.6d075176@kernel.org>
Date: Tue, 20 May 2025 16:50:19 -0700
From: Jakub Kicinski <kuba@...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>, Paolo
Abeni <pabeni@...hat.com>, Bharat Bhushan <bbhushan2@...vell.com>
Subject: Re: [net-next] octeontx2-pf: ethtool: Display "Autoneg" and "Port"
fields
On Mon, 19 May 2025 16:53:33 +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'.
>
> example output:
> ethtool ethx
> Advertised auto-negotiation: Yes
> Port: Twisted Pair
Can you add the real output without trimming please?
> + cmd->base.port = rsp->fwdata.port;
Do you validate somewhere this value is within the legitimate values
from kernel uAPI?
--
pw-bot: cr
Powered by blists - more mailing lists