summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/test_l4lb_noinline.c
Commit message (Collapse)AuthorAgeFilesLines
* selftests: bpf: centre kernel bpf objects under new subdir "progs"Jiong Wang2019-02-121-473/+0Star
| | | | | | | | | | | | | | At the moment, all kernel bpf objects are listed under BPF_OBJ_FILES. Listing them manually sometimes causing patch conflict when people are adding new testcases simultaneously. It is better to centre all the related source files under a subdir "progs", then auto-generate the object file list. Suggested-by: Alexei Starovoitov <ast@kernel.org> Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: Jiong Wang <jiong.wang@netronome.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
* selftests/bpf: add bpf_call testAlexei Starovoitov2017-12-171-0/+473
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>