2024-05-20 09:48:14

by Kory Maincent

[permalink] [raw]
Subject: [PATCH ethtool-next] ethtool: Add missing clause 33 PSE manual description

From: Kory Maincent (Dent Project) <[email protected]>

Add missing descriptions for clause 33 options and return values for
the show-pse and set-pse commands.

Signed-off-by: Kory Maincent <[email protected]>
---
ethtool.8.in | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

diff --git a/ethtool.8.in b/ethtool.8.in
index 5924b8d..264df74 100644
--- a/ethtool.8.in
+++ b/ethtool.8.in
@@ -536,6 +536,8 @@ ethtool \- query or control network driver and hardware settings
.I devname
.RB [ podl\-pse\-admin\-control
.BR enable | disable ]
+.RB [ c33\-pse\-admin\-control
+.BR enable | disable ]
.
.\" Adjust lines (i.e. full justification) and hyphenate.
.ad
@@ -1756,6 +1758,21 @@ status depend on internal PSE state machine and automatic PD classification
support. It corresponds to IEEE 802.3-2018 30.15.1.1.3
(aPoDLPSEPowerDetectionStatus) with potential values being
.B disabled, searching, delivering power, sleep, idle, error
+.TP
+.B c33-pse-admin-state
+This attribute indicates the operational status of c33 PSE functions, which
+can be modified using the
+.B c33-pse-admin-control
+parameter. It corresponds to IEEE 802.3-2022 30.9.1.1.2 (aPSEAdminState),
+with potential values being
+.B enabled, disabled
+.TP
+.B c33-pse-power-detection-status
+This attribute indicates the power detection status of the c33 PSE. The
+status depend on internal PSE state machine and automatic PD classification
+support. It corresponds to IEEE 802.3-2022 30.9.1.1.5
+(aPSEPowerDetectionStatus) with potential values being
+.B disabled, searching, delivering power, test, fault, other fault
.RE

.RE
@@ -1767,6 +1784,10 @@ Set Power Sourcing Equipment (PSE) parameters.
.A2 podl-pse-admin-control \ enable disable
This parameter manages PoDL PSE Admin operations in accordance with the IEEE
802.3-2018 30.15.1.2.1 (acPoDLPSEAdminControl) specification.
+.TP
+.A2 c33-pse-admin-control \ enable disable
+This parameter manages c33 PSE Admin operations in accordance with the IEEE
+802.3-2022 30.9.1.2.1 (acPSEAdminControl) specification.

.SH BUGS
Not supported (in part or whole) on all network drivers.

---
base-commit: edf00bab748b4e2d9620a106d84b03fdfb4d44da
change-id: 20240520-fix_missing_doc-6a0efe51549c

Best regards,
--
K?ry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com