[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240911212713.2178943-8-maxime.chevallier@bootlin.com>
Date: Wed, 11 Sep 2024 23:27:11 +0200
From: Maxime Chevallier <maxime.chevallier@...tlin.com>
To: davem@...emloft.net
Cc: Maxime Chevallier <maxime.chevallier@...tlin.com>,
netdev@...r.kernel.org,
linux-kernel@...r.kernel.org,
thomas.petazzoni@...tlin.com,
Andrew Lunn <andrew@...n.ch>,
Jakub Kicinski <kuba@...nel.org>,
Eric Dumazet <edumazet@...gle.com>,
Paolo Abeni <pabeni@...hat.com>,
Russell King <linux@...linux.org.uk>,
linux-arm-kernel@...ts.infradead.org,
Christophe Leroy <christophe.leroy@...roup.eu>,
Herve Codina <herve.codina@...tlin.com>,
Florian Fainelli <f.fainelli@...il.com>,
Heiner Kallweit <hkallweit1@...il.com>,
Vladimir Oltean <vladimir.oltean@....com>,
Marek Behún <kabel@...nel.org>,
Köry Maincent <kory.maincent@...tlin.com>,
Oleksij Rempel <o.rempel@...gutronix.de>
Subject: [PATCH net-next 7/7] netlink: specs: introduce phy-set command along with configurable attributes
Update the ethnl specification to include the newly introduced loopback
and isolated attributes, and describe the newly introduced
ETHTOOL_PHY_SET command.
Signed-off-by: Maxime Chevallier <maxime.chevallier@...tlin.com>
---
Documentation/netlink/specs/ethtool.yaml | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/Documentation/netlink/specs/ethtool.yaml b/Documentation/netlink/specs/ethtool.yaml
index 6a050d755b9c..f17ddd8783f7 100644
--- a/Documentation/netlink/specs/ethtool.yaml
+++ b/Documentation/netlink/specs/ethtool.yaml
@@ -1132,6 +1132,12 @@ attribute-sets:
-
name: downstream-sfp-name
type: string
+ -
+ name: isolate
+ type: u8
+ -
+ name: loopback
+ type: u8
operations:
enum-model: directional
@@ -1950,4 +1956,18 @@ operations:
- upstream-index
- upstream-sfp-name
- downstream-sfp-name
+ - isolate
+ - loopback
dump: *phy-get-op
+ -
+ name: phy-set
+ doc: Set configuration attributes for attached PHY devices
+
+ attribute-set: phy
+
+ do:
+ request:
+ attributes:
+ - header
+ - isolate
+ - loopback
--
2.46.0
Powered by blists - more mailing lists