diff options
author | 2025-05-02 13:16:22 -0700 | |
---|---|---|
committer | 2025-05-02 15:35:37 -0700 | |
commit | 64d6e3b9df1b12e35181e886d771d8920118e742 (patch) | |
tree | 23ba0b4e9edf3f2b1ff258f65e802379f5705f04 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | selftests/bpf: Test setting and creating bpf qdisc as default qdisc (diff) | |
download | wireguard-linux-64d6e3b9df1b12e35181e886d771d8920118e742.tar.xz wireguard-linux-64d6e3b9df1b12e35181e886d771d8920118e742.zip |
bpf: net_sched: Make some Qdisc_ops ops mandatory
The patch makes all currently supported Qdisc_ops (i.e., .enqueue,
.dequeue, .init, .reset, and .destroy) mandatory.
Make .init, .reset and .destroy mandatory as bpf qdisc relies on prologue
and epilogue to check attach points and correctly initialize/cleanup
resources. The prologue/epilogue will only be generated for an struct_ops
operator only if users implement the operator.
Make .enqueue and .dequeue mandatory as bpf qdisc infra does not provide
a default data path.
Fixes: c8240344956e ("bpf: net_sched: Support implementation of Qdisc_ops in bpf")
Signed-off-by: Amery Hung <ameryhung@gmail.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions