diff options
author | Alexander Duyck <alexanderduyck@fb.com> | 2020-11-03 13:35:11 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-11-03 17:52:37 -0800 |
commit | 0a099d1429c709020277d24a460d11ff8356a080 (patch) | |
tree | 971cc6d9dc042845ba9578206ed033f3c188f43f /tools/testing/selftests/bpf/progs/test_tcpbpf_kern.c | |
parent | d3813ea14b696053c076123239093822b527f0f7 (diff) |
selftests/bpf: Migrate tcpbpf_user.c to use BPF skeleton
Update tcpbpf_user.c to make use of the BPF skeleton. Doing this we can
simplify test_tcpbpf_user and reduce the overhead involved in setting up
the test.
In addition we can clean up the remaining bits such as the one remaining
CHECK_FAIL at the end of test_tcpbpf_user so that the function only makes
use of CHECK as needed.
Signed-off-by: Alexander Duyck <alexanderduyck@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/160443931155.1086697.17869006617113525162.stgit@localhost.localdomain
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_tcpbpf_kern.c')
0 files changed, 0 insertions, 0 deletions