From: Kory Maincent (Dent Project) <kory.maincent@bootlin.com>
Introduce support for PSE-specific netlink notifications, allowing for
the reporting of events related to c33 PSE (Power Sourcing Equipment).
Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
---
changes in v2:
- new patch.
---
Documentation/netlink/specs/ethtool.yaml | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/Documentation/netlink/specs/ethtool.yaml b/Documentation/netlink/specs/ethtool.yaml
index 93369f0eb816..6983dea39976 100644
--- a/Documentation/netlink/specs/ethtool.yaml
+++ b/Documentation/netlink/specs/ethtool.yaml
@@ -1137,6 +1137,18 @@ attribute-sets:
-
name: downstream-sfp-name
type: string
+ -
+ name: pse-ntf
+ attributes:
+ -
+ name: header
+ type: nest
+ nested-attributes: header
+ -
+ name: c33-pse-ntf-events
+ type: nest
+ nested-attributes: bitset
+ name-prefix: ethtool-a-
operations:
enum-model: directional
@@ -1960,3 +1972,13 @@ operations:
name: phy-ntf
doc: Notification for change in PHY devices.
notify: phy-get
+ -
+ name: pse-ntf
+ doc: Notification for pse events.
+
+ attribute-set: pse-ntf
+
+ event:
+ attributes:
+ - header
+ - c33-pse-ntf-events
--
2.34.1