Commit e40d3d09 authored by Jakub Kicinski's avatar Jakub Kicinski
Browse files

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: 93b230b5 ("netlink: specs: add ynl spec for ovs_flow")
Reviewed-by: default avatarDonald Hunter <donald.hunter@gmail.com>
Reviewed-by: default avatarIlya Maximets <i.maximets@ovn.org>
Reviewed-by: default avatarEelco Chaudron <echaudro@redhat.com>
Link: https://patch.msgid.link/20250624211002.3475021-7-kuba@kernel.org


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 94076809
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -216,7 +216,7 @@ definitions:
    type: struct
    members:
      -
        name: nd_target
        name: nd-target
        type: binary
        len: 16
        byte-order: big-endian
@@ -258,12 +258,12 @@ definitions:
    type: struct
    members:
      -
        name: vlan_tpid
        name: vlan-tpid
        type: u16
        byte-order: big-endian
        doc: Tag protocol identifier (TPID) to push.
      -
        name: vlan_tci
        name: vlan-tci
        type: u16
        byte-order: big-endian
        doc: Tag control identifier (TCI) to push.