aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/tailcall_bpf2bpf4.c
AgeCommit message (Collapse)AuthorFilesLines
2020-09-30bpf, selftests: Use bpf_tail_call_static where appropriateDaniel Borkmann1-3/+3
For those locations where we use an immediate tail call map index use the newly added bpf_tail_call_static() helper. Signed-off-by: Daniel Borkmann <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Martin KaFai Lau <[email protected]> Link: https://lore.kernel.org/bpf/3cfb2b799a62d22c6e7ae5897c23940bdcc24cbc.1601477936.git.daniel@iogearbox.net
2020-09-17selftests/bpf: Add tailcall_bpf2bpf testsMaciej Fijalkowski1-0/+61
Add four tests to tailcalls selftest explicitly named "tailcall_bpf2bpf_X" as their purpose is to validate that combination of tailcalls with bpf2bpf calls are working properly. These tests also validate LD_ABS from subprograms. Signed-off-by: Maciej Fijalkowski <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]>