Skip to content

Commit 209bcb9

Browse files
kuba-moodavem330
authored andcommitted
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 <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 3ada0b3 commit 209bcb9

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Documentation/netlink/specs/ovs_datapath.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ definitions:
2020
name: user-features
2121
type: flags
2222
name-prefix: ovs-dp-f-
23+
enum-name:
2324
entries:
2425
-
2526
name: unaligned

Documentation/netlink/specs/ovs_flow.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ definitions:
124124
-
125125
name: ovs-frag-type
126126
name-prefix: ovs-frag-type-
127+
enum-name: ovs-frag-type
127128
type: enum
128129
entries:
129130
-
@@ -269,6 +270,7 @@ definitions:
269270
-
270271
name: ovs-ufid-flags
271272
name-prefix: ovs-ufid-f-
273+
enum-name:
272274
type: flags
273275
entries:
274276
- omit-key
@@ -288,6 +290,7 @@ definitions:
288290
doc: Basis used for computing hash.
289291
-
290292
name: ovs-hash-alg
293+
enum-name: ovs-hash-alg
291294
type: enum
292295
doc: |
293296
Data path hash algorithm for computing Datapath hash. The algorithm type only specifies
@@ -339,6 +342,7 @@ definitions:
339342
MPLS tunnel attributes.
340343
-
341344
name: ct-state-flags
345+
enum-name:
342346
type: flags
343347
name-prefix: ovs-cs-f-
344348
entries:

0 commit comments

Comments
 (0)