diff options
author | Alexei Starovoitov <ast@fb.com> | 2017-03-31 06:45:43 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-01 21:45:57 +0200 |
commit | 37821613626e99828491302c3a59a094ec427395 (patch) | |
tree | 14e5245d35138409317ebff6a0b1ca11efead714 /tools/testing/selftests/bpf/Makefile | |
parent | selftests/bpf: add a test for basic XDP functionality (diff) | |
download | linux-37821613626e99828491302c3a59a094ec427395.tar.xz linux-37821613626e99828491302c3a59a094ec427395.zip |
selftests/bpf: add l4 load balancer test based on sched_cls
this l4lb demo is a comprehensive test case for LLVM codegen and
kernel verifier. It's using fully inlined jhash(), complex packet
parsing and multiple map lookups of different types to stress
llvm and verifier.
The map sizes, map population and test vectors are artificial to
exercise different paths through the bpf program.
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/bpf/Makefile')
-rw-r--r-- | tools/testing/selftests/bpf/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/Makefile b/tools/testing/selftests/bpf/Makefile index 76cbe1d42dda..32fb7a294f0f 100644 --- a/tools/testing/selftests/bpf/Makefile +++ b/tools/testing/selftests/bpf/Makefile @@ -6,7 +6,7 @@ LDLIBS += -lcap -lelf TEST_GEN_PROGS = test_verifier test_tag test_maps test_lru_map test_lpm_map test_progs -TEST_GEN_FILES = test_pkt_access.o test_xdp.o +TEST_GEN_FILES = test_pkt_access.o test_xdp.o test_l4lb.o TEST_PROGS := test_kmod.sh |