[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aPt8jAXU0l1f2zPG@pengutronix.de>
Date: Fri, 24 Oct 2025 15:18:04 +0200
From: Oleksij Rempel <o.rempel@...gutronix.de>
To: Jakub Kicinski <kuba@...nel.org>
Cc: Andrew Lunn <andrew@...n.ch>, "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>, Paolo Abeni <pabeni@...hat.com>,
Simon Horman <horms@...nel.org>,
Donald Hunter <donald.hunter@...il.com>,
Jonathan Corbet <corbet@....net>,
Heiner Kallweit <hkallweit1@...il.com>,
Russell King <linux@...linux.org.uk>,
Kory Maincent <kory.maincent@...tlin.com>,
Maxime Chevallier <maxime.chevallier@...tlin.com>,
Nishanth Menon <nm@...com>, kernel@...gutronix.de,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
UNGLinuxDriver@...rochip.com, linux-doc@...r.kernel.org,
Michal Kubecek <mkubecek@...e.cz>, Roan van Dijk <roan@...tonic.nl>
Subject: Re: [PATCH net-next v7 2/5] ethtool: netlink: add
ETHTOOL_MSG_MSE_GET and wire up PHY MSE access
Hi Jakub,
On Thu, Oct 23, 2025 at 06:13:43PM -0700, Jakub Kicinski wrote:
> On Mon, 20 Oct 2025 12:31:44 +0200 Oleksij Rempel wrote:
> > + -
> > + name: supported-caps
> > + type: nest
> > + nested-attributes: bitset
> > + enum: phy-mse-capability
>
> This is read only, does it really have to be a bitset?
It describes the capabilities of the driver/hardware. You can get always
everything... Hm... I think we continue without capabilities for now and
also remove the specific channel request.
> YNL will generate the string table automatically for user space to map
> the bits to names. And we have to do a bunch of const_ilog2() and render
> the MASK in the uAPI...
regards,
Oleksij & Marc
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Powered by blists - more mailing lists