Commit 2dddf8aa authored by Donald Hunter's avatar Donald Hunter Committed by Jakub Kicinski

doc: netlink: Update tc spec with missing definitions

The tc spec referenced tc-u32-mark and tc-act-police-attrs but did not
define them. The missing definitions were discovered when building the
docs with generated hyperlinks because the hyperlink target labels were
missing.

Add definitions for tc-u32-mark and tc-act-police-attrs.
Signed-off-by: default avatarDonald Hunter <donald.hunter@gmail.com>
Link: https://lore.kernel.org/r/20240329135021.52534-4-donald.hunter@gmail.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 8c1b74a2
...@@ -1099,6 +1099,19 @@ definitions: ...@@ -1099,6 +1099,19 @@ definitions:
- -
name: offmask name: offmask
type: s32 type: s32
-
name: tc-u32-mark
type: struct
members:
-
name: val
type: u32
-
name: mask
type: u32
-
name: success
type: u32
- -
name: tc-u32-sel name: tc-u32-sel
type: struct type: struct
...@@ -1774,6 +1787,44 @@ attribute-sets: ...@@ -1774,6 +1787,44 @@ attribute-sets:
- -
name: key-ex name: key-ex
type: binary type: binary
-
name: tc-act-police-attrs
attributes:
-
name: tbf
type: binary
struct: tc-police
-
name: rate
type: binary # TODO
-
name: peakrate
type: binary # TODO
-
name: avrate
type: u32
-
name: result
type: u32
-
name: tm
type: binary
struct: tcf-t
-
name: pad
type: pad
-
name: rate64
type: u64
-
name: peakrate64
type: u64
-
name: pktrate64
type: u64
-
name: pktburst64
type: u64
- -
name: tc-act-simple-attrs name: tc-act-simple-attrs
attributes: attributes:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment