mbox series

[bpf-next,v2,0/4] use network helpers, part 7

Message ID cover.1718202986.git.tanggeliang@kylinos.cn
Headers show
Series use network helpers, part 7 | expand

Message

Geliang Tang June 12, 2024, 2:41 p.m. UTC
From: Geliang Tang <tanggeliang@kylinos.cn>

v2:
 - update patch 2, extract a new helper start_client.
 - drop patch 3, keep must_fail in network_helper_opts.

Drop type and noconnect from network_helper_opts. And use start_server_str
in mptcp and test_tcp_check_syncookie_user.

Patches 1-2 address Martin's comments in the previous series.

Geliang Tang (4):
  selftests/bpf: Drop type from network_helper_opts
  selftests/bpf: Drop noconnect from network_helper_opts
  selftests/bpf: Use start_server_str in mptcp
  selftests/bpf: Use start_server_str in test_tcp_check_syncookie_user

 tools/testing/selftests/bpf/network_helpers.c | 45 +++++++++++++++----
 tools/testing/selftests/bpf/network_helpers.h |  7 +--
 .../selftests/bpf/prog_tests/bpf_tcp_ca.c     |  2 +-
 .../selftests/bpf/prog_tests/cgroup_v1v2.c    |  4 +-
 .../bpf/prog_tests/ip_check_defrag.c          |  7 +--
 .../testing/selftests/bpf/prog_tests/mptcp.c  |  7 +--
 .../bpf/test_tcp_check_syncookie_user.c       | 29 ++----------
 7 files changed, 49 insertions(+), 52 deletions(-)

Comments

Geliang Tang June 14, 2024, 2:14 a.m. UTC | #1
Superseded, will send a v3 soon.

Thanks,
-Geliang

On Wed, 2024-06-12 at 22:41 +0800, Geliang Tang wrote:
> From: Geliang Tang <tanggeliang@kylinos.cn>
> 
> v2:
>  - update patch 2, extract a new helper start_client.
>  - drop patch 3, keep must_fail in network_helper_opts.
> 
> Drop type and noconnect from network_helper_opts. And use
> start_server_str
> in mptcp and test_tcp_check_syncookie_user.
> 
> Patches 1-2 address Martin's comments in the previous series.
> 
> Geliang Tang (4):
>   selftests/bpf: Drop type from network_helper_opts
>   selftests/bpf: Drop noconnect from network_helper_opts
>   selftests/bpf: Use start_server_str in mptcp
>   selftests/bpf: Use start_server_str in
> test_tcp_check_syncookie_user
> 
>  tools/testing/selftests/bpf/network_helpers.c | 45 +++++++++++++++--
> --
>  tools/testing/selftests/bpf/network_helpers.h |  7 +--
>  .../selftests/bpf/prog_tests/bpf_tcp_ca.c     |  2 +-
>  .../selftests/bpf/prog_tests/cgroup_v1v2.c    |  4 +-
>  .../bpf/prog_tests/ip_check_defrag.c          |  7 +--
>  .../testing/selftests/bpf/prog_tests/mptcp.c  |  7 +--
>  .../bpf/test_tcp_check_syncookie_user.c       | 29 ++----------
>  7 files changed, 49 insertions(+), 52 deletions(-)
>