diff options
author | Yan Zhai <yan@cloudflare.com> | 2023-08-18 04:58:18 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2023-08-18 16:05:27 +0200 |
commit | 6c77997bc63982ab718662fee0bff6756d3116bc (patch) | |
tree | 376ed1c32a123dd6ab7bb47fcd3ad316500e9dff /tools/testing/selftests/bpf/config | |
parent | selftests/bpf: Add lwt_xmit tests for BPF_REDIRECT (diff) | |
download | linux-6c77997bc63982ab718662fee0bff6756d3116bc.tar.xz linux-6c77997bc63982ab718662fee0bff6756d3116bc.zip |
selftests/bpf: Add lwt_xmit tests for BPF_REROUTE
There is no lwt test case for BPF_REROUTE yet. Add test cases for both
normal and abnormal situations. The abnormal situation is set up with an
fq qdisc on the reroute target device. Without proper fixes, overflow
this qdisc queue limit (to trigger a drop) would panic the kernel.
Signed-off-by: Yan Zhai <yan@cloudflare.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/62c8ddc1e924269dcf80d2e8af1a1e632cee0b3a.1692326837.git.yan@cloudflare.com
Diffstat (limited to 'tools/testing/selftests/bpf/config')
-rw-r--r-- | tools/testing/selftests/bpf/config | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/bpf/config b/tools/testing/selftests/bpf/config index fa083f1e5b34..1c7584e8dd9e 100644 --- a/tools/testing/selftests/bpf/config +++ b/tools/testing/selftests/bpf/config @@ -60,6 +60,7 @@ CONFIG_NET_IPGRE=y CONFIG_NET_IPGRE_DEMUX=y CONFIG_NET_IPIP=y CONFIG_NET_MPLS_GSO=y +CONFIG_NET_SCH_FQ=y CONFIG_NET_SCH_INGRESS=y CONFIG_NET_SCHED=y CONFIG_NETDEVSIM=y |