[PATCH net-next v2 9/9] netlink: specs: introduce phy-set command along with configurable attributes

Maxime Chevallier
2024-10-04T17:12:32Z

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@bootlin.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