aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/tc_netkit.c
diff options
context:
space:
mode:
authorDaniel Borkmann <[email protected]>2024-12-20 23:46:57 +0000
committerDaniel Borkmann <[email protected]>2025-01-06 08:48:58 +0000
commitcc529a33d559cc75eb7250a4f4e2b9e431761312 (patch)
tree4ca495ec4571fe89f5ff7a3795c1742ce53d3cc9 /tools/testing/selftests/bpf/prog_tests/tc_netkit.c
parentnetkit: Allow for configuring needed_{head,tail}room (diff)
downloadkernel-cc529a33d559cc75eb7250a4f4e2b9e431761312.tar.gz
kernel-cc529a33d559cc75eb7250a4f4e2b9e431761312.zip
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": { "primary": 0, "policy": "forward", "mode": "l3", "scrub": "default", "headroom": 0, "tailroom": 0, "peer-policy": "forward", "peer-scrub": "default" } }, [...] Signed-off-by: Daniel Borkmann <[email protected]> Reviewed-by: Jakub Kicinski <[email protected]> Acked-by: Nikolay Aleksandrov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tc_netkit.c')
0 files changed, 0 insertions, 0 deletions