Linux Kernel Selftest development
 help / color / mirror / Atom feed
* [PATCH bpf-next 0/5] use network helpers, part 6
@ 2024-05-30  7:41 Geliang Tang
  2024-05-30  7:41 ` [PATCH bpf-next 1/5] selftests/bpf: Use connect_to_fd_opts in do_test in bpf_tcp_ca Geliang Tang
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Geliang Tang @ 2024-05-30  7:41 UTC (permalink / raw)
  To: Andrii Nakryiko, Eduard Zingerman, Mykola Lysenko,
	Alexei Starovoitov, Daniel Borkmann, Martin KaFai Lau, Song Liu,
	Yonghong Song, John Fastabend, KP Singh, Stanislav Fomichev,
	Hao Luo, Jiri Olsa, Shuah Khan
  Cc: Geliang Tang, bpf, linux-kselftest

From: Geliang Tang <tanggeliang@kylinos.cn>

For moving dctcp test dedicated code out of do_test() into test_dctcp().
This patchset adds a new helper start_test() in bpf_tcp_ca.c to refactor
do_test().

Address Martin's comments for the previous series.

Geliang Tang (5):
  selftests/bpf: Use connect_to_fd_opts in do_test in bpf_tcp_ca
  selftests/bpf: Add start_test helper in bpf_tcp_ca
  selftests/bpf: Use start_test in test_dctcp_fallback in bpf_tcp_ca
  selftests/bpf: Use start_test in test_dctcp in bpf_tcp_ca
  selftests/bpf: Drop useless arguments of do_test in bpf_tcp_ca

 .../selftests/bpf/prog_tests/bpf_tcp_ca.c     | 140 +++++++++++-------
 1 file changed, 85 insertions(+), 55 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-06-06 21:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-30  7:41 [PATCH bpf-next 0/5] use network helpers, part 6 Geliang Tang
2024-05-30  7:41 ` [PATCH bpf-next 1/5] selftests/bpf: Use connect_to_fd_opts in do_test in bpf_tcp_ca Geliang Tang
2024-05-30  7:41 ` [PATCH bpf-next 2/5] selftests/bpf: Add start_test helper " Geliang Tang
2024-05-30  7:41 ` [PATCH bpf-next 3/5] selftests/bpf: Use start_test in test_dctcp_fallback " Geliang Tang
2024-05-30  7:41 ` [PATCH bpf-next 4/5] selftests/bpf: Use start_test in test_dctcp " Geliang Tang
2024-05-30  7:41 ` [PATCH bpf-next 5/5] selftests/bpf: Drop useless arguments of do_test " Geliang Tang
2024-06-06 21:20 ` [PATCH bpf-next 0/5] use network helpers, part 6 patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox