aboutsummaryrefslogtreecommitdiff
path: root/Documentation/netlink
diff options
context:
space:
mode:
authorGravatar Jakub Kicinski <kuba@kernel.org> 2023-06-09 14:43:38 -0700
committerGravatar David S. Miller <davem@davemloft.net> 2023-06-12 11:01:03 +0100
commitd4813b11d679c80d4c3e20d27dafcd6d3317a69c (patch)
treeb517888d48e4c74e595259144d43cdc035c8842c /Documentation/netlink
parentnetlink: specs: support setting prefix-name per attribute (diff)
downloadlinux-d4813b11d679c80d4c3e20d27dafcd6d3317a69c.tar.gz
linux-d4813b11d679c80d4c3e20d27dafcd6d3317a69c.tar.bz2
linux-d4813b11d679c80d4c3e20d27dafcd6d3317a69c.zip
netlink: specs: ethtool: add C render hints
Most of the C enum names are guessed correctly, but there is a handful of corner cases we need to name explicitly. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/netlink')
-rw-r--r--Documentation/netlink/specs/ethtool.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/netlink/specs/ethtool.yaml b/Documentation/netlink/specs/ethtool.yaml
index 4846345bade4..b0e4147d0890 100644
--- a/Documentation/netlink/specs/ethtool.yaml
+++ b/Documentation/netlink/specs/ethtool.yaml
@@ -9,6 +9,7 @@ doc: Partial family for Ethtool Netlink.
definitions:
-
name: udp-tunnel-type
+ enum-name:
type: enum
entries: [ vxlan, geneve, vxlan-gpe ]
@@ -836,12 +837,15 @@ attribute-sets:
-
name: admin-state
type: u32
+ name-prefix: ethtool-a-podl-pse-
-
name: admin-control
type: u32
+ name-prefix: ethtool-a-podl-pse-
-
name: pw-d-status
type: u32
+ name-prefix: ethtool-a-podl-pse-
-
name: rss
attributes:
@@ -895,6 +899,7 @@ attribute-sets:
operations:
enum-model: directional
+ name-prefix: ethtool-msg-
list:
-
name: strset-get