]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: add bpf_call test
authorAlexei Starovoitov <ast@fb.com>
Fri, 15 Dec 2017 01:55:11 +0000 (17:55 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Sun, 17 Dec 2017 19:34:36 +0000 (20:34 +0100)
commitfcc170297888976ec2db776e0b06a71801d9aef3
tree0ff4d6d6f950bdd224a919a02c6a2cbd7ad282dd
parent6978ac42973a7cbf246d5e6540280c5940628c08
selftests/bpf: add bpf_call test

strip always_inline from test_l4lb.c and compile it with -fno-inline
to let verifier go through 11 function with various function arguments
and return values

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/Makefile
tools/testing/selftests/bpf/test_l4lb_noinline.c [new file with mode: 0644]
tools/testing/selftests/bpf/test_progs.c