diff options
author | Amery Hung <amery.hung@bytedance.com> | 2025-04-09 14:46:03 -0700 |
---|---|---|
committer | Martin KaFai Lau <martin.lau@kernel.org> | 2025-04-17 10:54:41 -0700 |
commit | 4b15121da7e5217636ae2edccb12cf7fc49709b3 (patch) | |
tree | 71d80e2627ee095e48033d6f209451066440aa30 /tools/testing/selftests/bpf/prog_tests/bpf_qdisc.c | |
parent | e582778f023b4c9e608b5cca135f17f62b0cd115 (diff) |
libbpf: Support creating and destroying qdisc
Extend struct bpf_tc_hook with handle, qdisc name and a new attach type,
BPF_TC_QDISC, to allow users to add or remove any qdisc specified in
addition to clsact.
Signed-off-by: Amery Hung <amery.hung@bytedance.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>
Link: https://patch.msgid.link/20250409214606.2000194-8-ameryhung@gmail.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/bpf_qdisc.c')
0 files changed, 0 insertions, 0 deletions