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: Donald Hunter <donald.hunter@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Jakub Kicinski 2023-12-14 17:57:34 -08:00 committed by David S. Miller
parent 3ada0b33c4
commit 209bcb9af8
2 changed files with 5 additions and 0 deletions

View file

@ -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

View file

@ -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:
- -
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:
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:
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: