Skip to content

Commit e40d3d0

Browse files
committed
netlink: specs: ovs_flow: replace underscores with dashes in names
We're trying to add a strict regexp for the name format in the spec. Underscores will not be allowed, dashes should be used instead. This makes no difference to C (codegen, if used, replaces special chars in names) but it gives more uniform naming in Python. Fixes: 93b230b ("netlink: specs: add ynl spec for ovs_flow") Reviewed-by: Donald Hunter <[email protected]> Reviewed-by: Ilya Maximets <[email protected]> Reviewed-by: Eelco Chaudron <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 9407680 commit e40d3d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Documentation/netlink/specs/ovs_flow.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ definitions:
216216
type: struct
217217
members:
218218
-
219-
name: nd_target
219+
name: nd-target
220220
type: binary
221221
len: 16
222222
byte-order: big-endian
@@ -258,12 +258,12 @@ definitions:
258258
type: struct
259259
members:
260260
-
261-
name: vlan_tpid
261+
name: vlan-tpid
262262
type: u16
263263
byte-order: big-endian
264264
doc: Tag protocol identifier (TPID) to push.
265265
-
266-
name: vlan_tci
266+
name: vlan-tci
267267
type: u16
268268
byte-order: big-endian
269269
doc: Tag control identifier (TCI) to push.

0 commit comments

Comments
 (0)