summaryrefslogtreecommitdiff
path: root/Documentation/netlink/specs/rt-link.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/netlink/specs/rt-link.yaml')
-rw-r--r--Documentation/netlink/specs/rt-link.yaml75
1 files changed, 51 insertions, 24 deletions
diff --git a/Documentation/netlink/specs/rt-link.yaml b/Documentation/netlink/specs/rt-link.yaml
index f23aa5f229c5..99f6fba456cc 100644
--- a/Documentation/netlink/specs/rt-link.yaml
+++ b/Documentation/netlink/specs/rt-link.yaml
@@ -880,22 +880,26 @@ attribute-sets:
struct: rtnl-link-stats
-
name: cost
- type: string
+ type: unused
-
name: priority
- type: string
+ type: unused
-
name: master
type: u32
-
name: wireless
- type: string
+ type: binary
+ doc: struct iw_event
-
name: protinfo
- type: string
+ type: binary
+ doc: A nest of ifla6-attrs or linkinfo-brport-attrs
-
name: txqlen
type: u32
+ checks:
+ max: 32767
-
name: map
type: binary
@@ -926,6 +930,11 @@ attribute-sets:
name: vfinfo-list
type: nest
nested-attributes: vfinfo-list-attrs
+ doc: |
+ Per-VF details. The list holds at most 256 VFs, or 128 when
+ statistics are included, because it is one attribute and has to fit
+ in a u16 length. A device with more VFs than that reports a
+ truncated list; num-vf still carries the real count.
-
name: stats64
type: binary
@@ -1351,6 +1360,12 @@ attribute-sets:
-
name: coupled-control
type: u8
+ -
+ name: broadcast-neigh
+ type: u8
+ -
+ name: lacp-strict
+ type: u8
-
name: bond-ad-info-attrs
name-prefix: ifla-bond-ad-info-
@@ -1577,31 +1592,31 @@ attribute-sets:
type: u32
-
name: mode
- type: flag
+ type: u8
-
name: guard
- type: flag
+ type: u8
-
name: protect
- type: flag
+ type: u8
-
name: fast-leave
- type: flag
+ type: u8
-
name: learning
- type: flag
+ type: u8
-
name: unicast-flood
- type: flag
+ type: u8
-
name: proxyarp
- type: flag
+ type: u8
-
name: learning-sync
- type: flag
+ type: u8
-
name: proxyarp-wifi
- type: flag
+ type: u8
-
name: root-id
type: binary
@@ -1648,34 +1663,34 @@ attribute-sets:
type: pad
-
name: mcast-flood
- type: flag
+ type: u8
-
name: mcast-to-ucast
- type: flag
+ type: u8
-
name: vlan-tunnel
- type: flag
+ type: u8
-
name: bcast-flood
- type: flag
+ type: u8
-
name: group-fwd-mask
type: u16
-
name: neigh-suppress
- type: flag
+ type: u8
-
name: isolated
- type: flag
+ type: u8
-
name: backup-port
type: u32
-
name: mrp-ring-open
- type: flag
+ type: u8
-
name: mrp-in-open
- type: flag
+ type: u8
-
name: mcast-eht-hosts-limit
type: u32
@@ -1684,10 +1699,10 @@ attribute-sets:
type: u32
-
name: locked
- type: flag
+ type: u8
-
name: mab
- type: flag
+ type: u8
-
name: mcast-n-groups
type: u32
@@ -1696,10 +1711,13 @@ attribute-sets:
type: u32
-
name: neigh-vlan-suppress
- type: flag
+ type: u8
-
name: backup-nhid
type: u32
+ -
+ name: neigh-forward-grat
+ type: u8
-
name: linkinfo-gre-attrs
name-prefix: ifla-gre-
@@ -1936,6 +1954,15 @@ attribute-sets:
-
name: gro-hint
type: flag
+ -
+ name: local
+ type: u32
+ byte-order: big-endian
+ display-hint: ipv4
+ -
+ name: local6
+ type: binary
+ display-hint: ipv6
-
name: linkinfo-hsr-attrs
name-prefix: ifla-hsr-