netlink: specs: Fix pse-set command attributes
authorKory Maincent <kory.maincent@bootlin.com>
Fri, 21 Jun 2024 13:00:59 +0000 (15:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 23 Jun 2024 09:04:19 +0000 (10:04 +0100)
Not all PSE attributes are used for the pse-set netlink command.
Select only the ones used by ethtool.

Fixes: f8586411e40e ("netlink: specs: Expand the pse netlink command with PoE interface")
Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/netlink/specs/ethtool.yaml

index 00dc61358be8c5713091db1c20b2c245eba46023..4510e8d1adcb8ff718f57e5663c4220ee85ee255 100644 (file)
@@ -1603,7 +1603,7 @@ operations:
           attributes:
             - header
         reply:
-          attributes: &pse
+          attributes:
             - header
             - podl-pse-admin-state
             - podl-pse-admin-control
@@ -1620,7 +1620,10 @@ operations:
 
       do:
         request:
-          attributes: *pse
+          attributes:
+            - header
+            - podl-pse-admin-control
+            - c33-pse-admin-control
     -
       name: rss-get
       doc: Get RSS params.