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

netlink: specs: ovs: correct enum names in specs

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: default avatarDonald Hunter <donald.hunter@gmail.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3ada0b33
...@@ -20,6 +20,7 @@ definitions: ...@@ -20,6 +20,7 @@ definitions:
name: user-features name: user-features
type: flags type: flags
name-prefix: ovs-dp-f- name-prefix: ovs-dp-f-
enum-name:
entries: entries:
- -
name: unaligned name: unaligned
......
...@@ -124,6 +124,7 @@ definitions: ...@@ -124,6 +124,7 @@ definitions:
- -
name: ovs-frag-type name: ovs-frag-type
name-prefix: ovs-frag-type- name-prefix: ovs-frag-type-
enum-name: ovs-frag-type
type: enum type: enum
entries: entries:
- -
...@@ -269,6 +270,7 @@ definitions: ...@@ -269,6 +270,7 @@ definitions:
- -
name: ovs-ufid-flags name: ovs-ufid-flags
name-prefix: ovs-ufid-f- name-prefix: ovs-ufid-f-
enum-name:
type: flags type: flags
entries: entries:
- omit-key - omit-key
...@@ -288,6 +290,7 @@ definitions: ...@@ -288,6 +290,7 @@ definitions:
doc: Basis used for computing hash. doc: Basis used for computing hash.
- -
name: ovs-hash-alg name: ovs-hash-alg
enum-name: ovs-hash-alg
type: enum type: enum
doc: | doc: |
Data path hash algorithm for computing Datapath hash. The algorithm type only specifies Data path hash algorithm for computing Datapath hash. The algorithm type only specifies
...@@ -339,6 +342,7 @@ definitions: ...@@ -339,6 +342,7 @@ definitions:
MPLS tunnel attributes. MPLS tunnel attributes.
- -
name: ct-state-flags name: ct-state-flags
enum-name:
type: flags type: flags
name-prefix: ovs-cs-f- name-prefix: ovs-cs-f-
entries: entries:
......
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