mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-08 00:29:36 -04:00
netlink: specs: rt-link: add C naming info
Add properties needed for C codegen to match names with uAPI headers. Reviewed-by: Donald Hunter <donald.hunter@gmail.com> Link: https://patch.msgid.link/20250418021706.1967583-6-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
name: rt-link
|
||||
protocol: netlink-raw
|
||||
uapi-header: linux/rtnetlink.h
|
||||
protonum: 0
|
||||
|
||||
doc:
|
||||
@@ -11,6 +12,9 @@ definitions:
|
||||
-
|
||||
name: ifinfo-flags
|
||||
type: flags
|
||||
header: linux/if.h
|
||||
enum-name: net-device-flags
|
||||
name-prefix: iff-
|
||||
entries:
|
||||
-
|
||||
name: up
|
||||
@@ -53,6 +57,7 @@ definitions:
|
||||
-
|
||||
name: vlan-protocols
|
||||
type: enum
|
||||
enum-name:
|
||||
entries:
|
||||
-
|
||||
name: 8021q
|
||||
@@ -754,6 +759,7 @@ definitions:
|
||||
-
|
||||
name: vlan-flags
|
||||
type: flags
|
||||
enum-name:
|
||||
entries:
|
||||
- reorder-hdr
|
||||
- gvrp
|
||||
@@ -840,6 +846,7 @@ definitions:
|
||||
-
|
||||
name: ifla-vf-link-state-enum
|
||||
type: enum
|
||||
enum-name:
|
||||
entries:
|
||||
- auto
|
||||
- enable
|
||||
@@ -906,6 +913,7 @@ definitions:
|
||||
-
|
||||
name: rtext-filter
|
||||
type: flags
|
||||
enum-name:
|
||||
entries:
|
||||
- vf
|
||||
- brvlan
|
||||
@@ -918,6 +926,7 @@ definitions:
|
||||
-
|
||||
name: netkit-policy
|
||||
type: enum
|
||||
enum-name:
|
||||
entries:
|
||||
-
|
||||
name: forward
|
||||
@@ -928,6 +937,7 @@ definitions:
|
||||
-
|
||||
name: netkit-mode
|
||||
type: enum
|
||||
enum-name: netkit-mode
|
||||
entries:
|
||||
- name: l2
|
||||
- name: l3
|
||||
@@ -935,6 +945,7 @@ definitions:
|
||||
-
|
||||
name: netkit-scrub
|
||||
type: enum
|
||||
enum-name:
|
||||
entries:
|
||||
- name: none
|
||||
- name: default
|
||||
@@ -1195,6 +1206,7 @@ attribute-sets:
|
||||
nested-attributes: mctp-attrs
|
||||
-
|
||||
name: vfinfo-list-attrs
|
||||
name-prefix: ifla-vf-
|
||||
attributes:
|
||||
-
|
||||
name: info
|
||||
@@ -1203,6 +1215,7 @@ attribute-sets:
|
||||
multi-attr: true
|
||||
-
|
||||
name: vfinfo-attrs
|
||||
name-prefix: ifla-vf-
|
||||
attributes:
|
||||
-
|
||||
name: mac
|
||||
@@ -1257,6 +1270,7 @@ attribute-sets:
|
||||
type: binary
|
||||
-
|
||||
name: vf-stats-attrs
|
||||
name-prefix: ifla-vf-stats-
|
||||
attributes:
|
||||
-
|
||||
name: rx-packets
|
||||
@@ -1288,6 +1302,8 @@ attribute-sets:
|
||||
type: u64
|
||||
-
|
||||
name: vf-vlan-attrs
|
||||
name-prefix: ifla-vf-vlan-
|
||||
attr-max-name: ifla-vf-vlan-info-max
|
||||
attributes:
|
||||
-
|
||||
name: info
|
||||
@@ -1296,12 +1312,15 @@ attribute-sets:
|
||||
multi-attr: true
|
||||
-
|
||||
name: vf-ports-attrs
|
||||
name-prefix: ifla-
|
||||
attributes: []
|
||||
-
|
||||
name: port-self-attrs
|
||||
name-prefix: ifla-
|
||||
attributes: []
|
||||
-
|
||||
name: linkinfo-attrs
|
||||
name-prefix: ifla-info-
|
||||
attributes:
|
||||
-
|
||||
name: kind
|
||||
@@ -1855,6 +1874,7 @@ attribute-sets:
|
||||
-
|
||||
name: linkinfo-vti-attrs
|
||||
name-prefix: ifla-vti-
|
||||
header: linux/if_tunnel.h
|
||||
attributes:
|
||||
-
|
||||
name: link
|
||||
@@ -2107,7 +2127,7 @@ attribute-sets:
|
||||
byte-order: big-endian
|
||||
-
|
||||
name: ifla-vlan-qos
|
||||
name-prefix: ifla-vlan-qos
|
||||
name-prefix: ifla-vlan-qos-
|
||||
attributes:
|
||||
-
|
||||
name: mapping
|
||||
@@ -2123,6 +2143,7 @@ attribute-sets:
|
||||
type: u32
|
||||
-
|
||||
name: xdp-attrs
|
||||
name-prefix: ifla-xdp-
|
||||
attributes:
|
||||
-
|
||||
name: fd
|
||||
@@ -2150,6 +2171,7 @@ attribute-sets:
|
||||
type: s32
|
||||
-
|
||||
name: ifla-attrs
|
||||
name-prefix: ifla-inet-
|
||||
attributes:
|
||||
-
|
||||
name: conf
|
||||
@@ -2157,6 +2179,7 @@ attribute-sets:
|
||||
struct: ipv4-devconf
|
||||
-
|
||||
name: ifla6-attrs
|
||||
name-prefix: ifla-inet6-
|
||||
attributes:
|
||||
-
|
||||
name: flags
|
||||
@@ -2222,6 +2245,7 @@ attribute-sets:
|
||||
type: binary
|
||||
-
|
||||
name: link-offload-xstats
|
||||
name-prefix: ifla-offload-xstats-
|
||||
attributes:
|
||||
-
|
||||
name: cpu-hit
|
||||
@@ -2236,6 +2260,7 @@ attribute-sets:
|
||||
type: binary
|
||||
-
|
||||
name: hw-s-info-one
|
||||
name-prefix: ifla-offload-xstats-hw-s-info-
|
||||
attributes:
|
||||
-
|
||||
name: request
|
||||
@@ -2245,6 +2270,8 @@ attribute-sets:
|
||||
type: u8
|
||||
-
|
||||
name: link-dpll-pin-attrs
|
||||
name-prefix: dpll-a-
|
||||
header: linux/dpll.h
|
||||
attributes:
|
||||
-
|
||||
name: id
|
||||
@@ -2357,6 +2384,7 @@ sub-messages:
|
||||
|
||||
operations:
|
||||
enum-model: directional
|
||||
name-prefix: rtm-
|
||||
list:
|
||||
-
|
||||
name: newlink
|
||||
|
||||
Reference in New Issue
Block a user