summaryrefslogtreecommitdiff
path: root/Documentation/netlink/specs/ethtool.yaml
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2023-06-09 14:43:41 -0700
committerDavid S. Miller <davem@davemloft.net>2023-06-12 11:01:03 +0100
commit180ad455273a7d3ba95ec21d28c1fee6766f166d (patch)
tree091578b675231e92059dc5c17a4f3c0843a3ed5b /Documentation/netlink/specs/ethtool.yaml
parent2c9d47a095f7d0380e35064121bc8838dbf136cb (diff)
netlink: specs: ethtool: add empty enum stringset
C does not allow defining structures and enums with the same name. Since enum ethtool_stringset exists in the uAPI we need to include at least a stub of it in the spec. This will trigger name collision avoidance in the code gen. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/netlink/specs/ethtool.yaml')
-rw-r--r--Documentation/netlink/specs/ethtool.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/netlink/specs/ethtool.yaml b/Documentation/netlink/specs/ethtool.yaml
index b0e4147d0890..d674731629c4 100644
--- a/Documentation/netlink/specs/ethtool.yaml
+++ b/Documentation/netlink/specs/ethtool.yaml
@@ -12,6 +12,10 @@ definitions:
enum-name:
type: enum
entries: [ vxlan, geneve, vxlan-gpe ]
+ -
+ name: stringset
+ type: enum
+ entries: []
attribute-sets:
-