[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241004161601.2932901-10-maxime.chevallier@bootlin.com>
Date: Fri, 4 Oct 2024 18:15:59 +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 v2 9/9] netlink: specs: introduce phy-set command along with configurable attributes
Update the ethnl specification to include the newly introduced isolated
attribute, and describe the newly introduced ETHTOOL_PHY_SET command.
Signed-off-by: Maxime Chevallier <maxime.chevallier@...tlin.com>
---
V2 : Dropped loopback mode
Documentation/netlink/specs/ethtool.yaml | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/Documentation/netlink/specs/ethtool.yaml b/Documentation/netlink/specs/ethtool.yaml
index 6a050d755b9c..6f5cdb3af64d 100644
--- a/Documentation/netlink/specs/ethtool.yaml
+++ b/Documentation/netlink/specs/ethtool.yaml
@@ -1132,6 +1132,9 @@ attribute-sets:
-
name: downstream-sfp-name
type: string
+ -
+ name: isolate
+ type: u8
operations:
enum-model: directional
@@ -1950,4 +1953,16 @@ operations:
- upstream-index
- upstream-sfp-name
- downstream-sfp-name
+ - isolate
dump: *phy-get-op
+ -
+ name: phy-set
+ doc: Set configuration attributes for attached PHY devices
+
+ attribute-set: phy
+
+ do:
+ request:
+ attributes:
+ - header
+ - isolate
--
2.46.1
Powered by blists - more mailing lists