Skip to content

Commit d56e097

Browse files
borkmannKernel Patches Daemon
authored and
Kernel Patches Daemon
committed
netkit: Add add netkit {head,tail}room to rt_link.yaml
Add netkit {head,tail}room attribute support to the rt_link.yaml spec file. Example: # ./tools/net/ynl/cli.py --spec Documentation/netlink/specs/rt_link.yaml \ --do getlink --json '{"ifname": "nk0"}' --output-json | jq [...] "linkinfo": { "kind": "netkit", "data": { } }, [...] Signed-off-by: Daniel Borkmann <[email protected]> Cc: Nikolay Aleksandrov <[email protected]>
1 parent 02f240e commit d56e097

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Documentation/netlink/specs/rt_link.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2166,6 +2166,12 @@ attribute-sets:
21662166
name: peer-scrub
21672167
type: u32
21682168
enum: netkit-scrub
2169+
-
2170+
name: headroom
2171+
type: u16
2172+
-
2173+
name: tailroom
2174+
type: u16
21692175

21702176
sub-messages:
21712177
-

0 commit comments

Comments
 (0)