Commit d4813b11 authored by Jakub Kicinski's avatar Jakub Kicinski Committed by David S. Miller

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: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ed2042cc
...@@ -9,6 +9,7 @@ doc: Partial family for Ethtool Netlink. ...@@ -9,6 +9,7 @@ doc: Partial family for Ethtool Netlink.
definitions: definitions:
- -
name: udp-tunnel-type name: udp-tunnel-type
enum-name:
type: enum type: enum
entries: [ vxlan, geneve, vxlan-gpe ] entries: [ vxlan, geneve, vxlan-gpe ]
...@@ -836,12 +837,15 @@ attribute-sets: ...@@ -836,12 +837,15 @@ attribute-sets:
- -
name: admin-state name: admin-state
type: u32 type: u32
name-prefix: ethtool-a-podl-pse-
- -
name: admin-control name: admin-control
type: u32 type: u32
name-prefix: ethtool-a-podl-pse-
- -
name: pw-d-status name: pw-d-status
type: u32 type: u32
name-prefix: ethtool-a-podl-pse-
- -
name: rss name: rss
attributes: attributes:
...@@ -895,6 +899,7 @@ attribute-sets: ...@@ -895,6 +899,7 @@ attribute-sets:
operations: operations:
enum-model: directional enum-model: directional
name-prefix: ethtool-msg-
list: list:
- -
name: strset-get name: strset-get
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment