]> www.infradead.org Git - users/willy/xarray.git/commit
selftests/bpf: Reuse the tcp_sk() from the bpf_tracing_net.h
authorMartin KaFai Lau <martin.lau@kernel.org>
Thu, 9 May 2024 17:50:19 +0000 (10:50 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 9 May 2024 18:13:11 +0000 (11:13 -0700)
commitcc5b18ce1714160be3e0e3b9440a6306dc87e5c4
tree8e2a74eea0b9dbcc527298c05cb7d124dae9dafa
parentcbaec46df6c08a2fab6be03d093d3d6ce74adc9a
selftests/bpf: Reuse the tcp_sk() from the bpf_tracing_net.h

This patch removes the individual tcp_sk implementations from the
tcp-cc tests. The tcp_sk() implementation from the bpf_tracing_net.h
is reused instead.

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