mbox series

[bpf-next,v6,0/6] use network helpers, part 7

Message ID cover.1718932493.git.tanggeliang@kylinos.cn (mailing list archive)
Headers show
Series use network helpers, part 7 | expand

Message

Geliang Tang June 21, 2024, 2:15 a.m. UTC
From: Geliang Tang <tanggeliang@kylinos.cn>

v6:
 - update ASSERT strings in patch 4 as Eduard suggested. (thanks)

v5:
 - update patch 1, add getsockopt(SO_PROTOCOL) in connect_to_fd() to
fix errors reported by CI.

v4:
 - fix errors reported by CI.

v3:
 - rename start_client to client_socket
 - Use connect_to_addr in connect_to_fd_opt

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-4 address Martin's comments in the previous series.

Geliang Tang (6):
  selftests/bpf: Drop type from network_helper_opts
  selftests/bpf: Use connect_to_addr in connect_to_fd_opt
  selftests/bpf: Add client_socket helper
  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 | 100 +++++++++---------
 tools/testing/selftests/bpf/network_helpers.h |   6 +-
 .../selftests/bpf/prog_tests/bpf_tcp_ca.c     |   2 +-
 .../selftests/bpf/prog_tests/cgroup_v1v2.c    |   4 +-
 .../bpf/prog_tests/ip_check_defrag.c          |  14 ++-
 .../testing/selftests/bpf/prog_tests/mptcp.c  |   7 +-
 .../bpf/test_tcp_check_syncookie_user.c       |  29 +----
 7 files changed, 64 insertions(+), 98 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org June 21, 2024, 3:50 a.m. UTC | #1
Hello:

This series was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@kernel.org>:

On Fri, 21 Jun 2024 10:15:57 +0800 you wrote:
> From: Geliang Tang <tanggeliang@kylinos.cn>
> 
> v6:
>  - update ASSERT strings in patch 4 as Eduard suggested. (thanks)
> 
> v5:
>  - update patch 1, add getsockopt(SO_PROTOCOL) in connect_to_fd() to
> fix errors reported by CI.
> 
> [...]

Here is the summary with links:
  - [bpf-next,v6,1/6] selftests/bpf: Drop type from network_helper_opts
    https://git.kernel.org/bpf/bpf-next/c/34ad6ec97252
  - [bpf-next,v6,2/6] selftests/bpf: Use connect_to_addr in connect_to_fd_opt
    https://git.kernel.org/bpf/bpf-next/c/08a5206240d3
  - [bpf-next,v6,3/6] selftests/bpf: Add client_socket helper
    https://git.kernel.org/bpf/bpf-next/c/bbca57aa378b
  - [bpf-next,v6,4/6] selftests/bpf: Drop noconnect from network_helper_opts
    https://git.kernel.org/bpf/bpf-next/c/7f0d5140a6d6
  - [bpf-next,v6,5/6] selftests/bpf: Use start_server_str in mptcp
    https://git.kernel.org/bpf/bpf-next/c/fb69f71cf585
  - [bpf-next,v6,6/6] selftests/bpf: Use start_server_str in test_tcp_check_syncookie_user
    https://git.kernel.org/bpf/bpf-next/c/8cab7cdcf5ae

You are awesome, thank you!