[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230908084228.7887c1a9@kernel.org>
Date: Fri, 8 Sep 2023 08:42:28 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Maxime Chevallier <maxime.chevallier@...tlin.com>
Cc: davem@...emloft.net, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, Andrew Lunn <andrew@...n.ch>, Eric Dumazet
<edumazet@...gle.com>, Paolo Abeni <pabeni@...hat.com>, Florian Fainelli
<f.fainelli@...il.com>, Heiner Kallweit <hkallweit1@...il.com>, Russell
King <linux@...linux.org.uk>, Vladimir Oltean <vladimir.oltean@....com>,
Oleksij Rempel <linux@...pel-privat.de>, Nicolò Veronese
<nicveronese@...il.com>, thomas.petazzoni@...tlin.com, Christophe Leroy
<christophe.leroy@...roup.eu>
Subject: Re: [RFC PATCH net-next 6/7] net: ethtool: add a netlink command to
get PHY information
On Thu, 7 Sep 2023 11:24:04 +0200 Maxime Chevallier wrote:
> +enum phy_upstream_type {
> + PHY_UPSTREAM_MAC,
> + PHY_UPSTREAM_SFP,
> + PHY_UPSTREAM_PHY,
> +};
Would be good to define the enum in the YAML spec, too.
That way YNL users can auto-magically see strings for the values.
Powered by blists - more mailing lists