selftests/bpf: Use bpf_tracing_net.h in bpf_cubic
authorMartin KaFai Lau <martin.lau@kernel.org>
Thu, 9 May 2024 17:50:22 +0000 (10:50 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 9 May 2024 18:13:12 +0000 (11:13 -0700)
commita824c9a8a4d9a654d62674a8425c0f1abc9c3d33
tree849109c0f9b65ebe1eaa9b52ba5c644ee82a6787
parentb1d87ae9b0d3d91767d85183e40c96f4229a6c21
selftests/bpf: Use bpf_tracing_net.h in bpf_cubic

This patch uses bpf_tracing_net.h (i.e. vmlinux.h) in bpf_cubic.
This will allow to retire the bpf_tcp_helpers.h and consolidate
tcp-cc tests to vmlinux.h.

Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://lore.kernel.org/r/20240509175026.3423614-7-martin.lau@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/progs/bpf_cubic.c