netlink: specs: ovs: correct enum names in specs
authorJakub Kicinski <kuba@kernel.org>
Fri, 15 Dec 2023 01:57:34 +0000 (17:57 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Dec 2023 12:17:16 +0000 (12:17 +0000)
Align the enum-names of OVS with what's actually in the uAPI.
Either correct the names, or mark the enum as empty because
the values are in fact #defines.

Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/netlink/specs/ovs_datapath.yaml
Documentation/netlink/specs/ovs_flow.yaml

index 067c54a52d7a1da8a6f68614d05a3d42bb502482..edc8c95ca6f5caa7952af36c2804fa4a5eeabe6e 100644 (file)
@@ -20,6 +20,7 @@ definitions:
     name: user-features
     type: flags
     name-prefix: ovs-dp-f-
+    enum-name:
     entries:
       -
         name: unaligned
index 29315f3538fd54861306a321704de901ecaeb823..4fdfc6b5cae952887c24a7dcd8a65a831a4e8e67 100644 (file)
@@ -124,6 +124,7 @@ definitions:
   -
     name: ovs-frag-type
     name-prefix: ovs-frag-type-
+    enum-name: ovs-frag-type
     type: enum
     entries:
       -
@@ -269,6 +270,7 @@ definitions:
   -
     name: ovs-ufid-flags
     name-prefix: ovs-ufid-f-
+    enum-name:
     type: flags
     entries:
       - omit-key
@@ -288,6 +290,7 @@ definitions:
         doc: Basis used for computing hash.
   -
     name: ovs-hash-alg
+    enum-name: ovs-hash-alg
     type: enum
     doc: |
       Data path hash algorithm for computing Datapath hash. The algorithm type only specifies
@@ -339,6 +342,7 @@ definitions:
           MPLS tunnel attributes.
   -
     name: ct-state-flags
+    enum-name:
     type: flags
     name-prefix: ovs-cs-f-
     entries: