Skip to content

use network helpers, part 6

Geliang Tang bpf linux-kselftest 1 version Applied

Status from this message: This series was applied to bpf/bpf-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesApplied 5/5

Patches in v1 All 5 applied

#Subject and filesSizeRepliesApplied
1/5selftests/bpf: Use connect_to_fd_opts in do_test in bpf_tcp_catools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c+34 -270 repliesApplied
2/5selftests/bpf: Add start_test helper in bpf_tcp_catools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c+33 -90 repliesApplied
3/5selftests/bpf: Use start_test in test_dctcp_fallback in bpf_tcp_catools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c+9 -110 repliesApplied
4/5selftests/bpf: Use start_test in test_dctcp in bpf_tcp_catools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c+15 -120 repliesApplied
5/5selftests/bpf: Drop useless arguments of do_test in bpf_tcp_catools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c+9 -110 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH bpf-next 0/5] use network helpers, part 6

From: Geliang Tang <[email protected]>

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(-)
Signature · 1 line
2.43.0