aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsbjørn Sloth Tønnesen <[email protected]>2024-07-13 02:18:59 +0000
committerJakub Kicinski <[email protected]>2024-07-15 09:14:37 -0700
commit49ba9fc1c7736e935f7606920c5092b2bbb0d1e4 (patch)
tree5f198744a97611f8b5b698faf659addbb4887581
parent6e5c85c003e47fd49b72ca052b9181644e04a520 (diff)
doc: netlink: specs: tc: describe flower control flags
Describe the flower control flags, and use them for key-flags and key-flags-mask. The flag names have been taken from iproute2. Suggested-by: Jakub Kicinski <[email protected]> Signed-off-by: Asbjørn Sloth Tønnesen <[email protected]> Reviewed-by: Donald Hunter <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
-rw-r--r--Documentation/netlink/specs/tc.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/netlink/specs/tc.yaml b/Documentation/netlink/specs/tc.yaml
index 8c01e4e13195..fbbc928647fa 100644
--- a/Documentation/netlink/specs/tc.yaml
+++ b/Documentation/netlink/specs/tc.yaml
@@ -42,6 +42,12 @@ definitions:
- not-in-nw
- verbose
-
+ name: tc-flower-key-ctrl-flags
+ type: flags
+ entries:
+ - frag
+ - firstfrag
+ -
name: tc-stats
type: struct
members:
@@ -2536,10 +2542,14 @@ attribute-sets:
name: key-flags
type: u32
byte-order: big-endian
+ enum: tc-flower-key-ctrl-flags
+ enum-as-flags: true
-
name: key-flags-mask
type: u32
byte-order: big-endian
+ enum: tc-flower-key-ctrl-flags
+ enum-as-flags: true
-
name: key-icmpv4-code
type: u8