diff options
| author | Martin KaFai Lau <[email protected]> | 2024-05-09 17:50:20 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2024-05-09 18:13:11 +0000 |
| commit | 7d3851a31832bf8dc776a78494b788518734ad0f (patch) | |
| tree | b76899f62b243ae92c557b88d1e193b7de5dbd27 /tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c | |
| parent | selftests/bpf: Reuse the tcp_sk() from the bpf_tracing_net.h (diff) | |
| download | kernel-7d3851a31832bf8dc776a78494b788518734ad0f.tar.gz kernel-7d3851a31832bf8dc776a78494b788518734ad0f.zip | |
selftests/bpf: Sanitize the SEC and inline usages in the bpf-tcp-cc tests
It is needed to remove the BPF_STRUCT_OPS usages from the tcp-cc tests
because it is defined in bpf_tcp_helpers.h which is going to be retired.
While at it, this patch consolidates all tcp-cc struct_ops programs to
use the SEC("struct_ops") + BPF_PROG().
It also removes the unnecessary __always_inline usages from the
tcp-cc tests.
Signed-off-by: Martin KaFai Lau <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c')
0 files changed, 0 insertions, 0 deletions
