diff options
author | Alexei Starovoitov <ast@kernel.org> | 2024-05-09 21:13:12 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2024-05-09 21:13:13 +0300 |
commit | cbe35adf691a3227b11131a922245c4d6409d2d6 (patch) | |
tree | a1edbcb9da11f2300df7fd76ea17fb65c6bf9c03 /tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c | |
parent | 009367099eb61a4fc2af44d4eb06b6b4de7de6db (diff) | |
parent | 6a650816b098a15c4690a22e3889858264d01aa8 (diff) | |
download | linux-cbe35adf691a3227b11131a922245c4d6409d2d6.tar.xz |
Merge branch 'selftests-bpf-retire-bpf_tcp_helpers-h'
Martin KaFai Lau says:
====================
selftests/bpf: Retire bpf_tcp_helpers.h
From: Martin KaFai Lau <martin.lau@kernel.org>
The earlier commit 8e6d9ae2e09f ("selftests/bpf: Use bpf_tracing.h instead of bpf_tcp_helpers.h")
removed the bpf_tcp_helpers.h usages from the non networking tests.
This patch set is a continuation of this effort to retire
the bpf_tcp_helpers.h from the networking tests (mostly tcp-cc related).
The main usage of the bpf_tcp_helpers.h is the partial kernel
socket definitions (e.g. sock, tcp_sock). New fields are kept adding
back to those partial socket definitions while everything is available
in the vmlinux.h. The recent bpf_cc_cubic.c test tried to extend
bpf_tcp_helpers.c but eventually used the vmlinux.h instead. To avoid
this unnecessary detour for new tests and have one consistent way
of using the kernel sockets, this patch set retires the bpf_tcp_helpers.h
usages and consolidates the tests to use vmlinux.h instead.
====================
Link: https://lore.kernel.org/r/20240509175026.3423614-1-martin.lau@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c')
0 files changed, 0 insertions, 0 deletions