mbox series

[net-next,0/7] selftests: mptcp: increase code coverage

Message ID 20250502-net-next-mptcp-sft-inc-cover-v1-0-68eec95898fb@kernel.org
Headers show
Series selftests: mptcp: increase code coverage | expand

Message

Matthieu Baerts May 2, 2025, 12:29 p.m. UTC
Here are various patches slightly improving MPTCP code coverage:

- Patch 1: avoid a harmless 'grep: write error' warning.

- Patch 2: use getaddrinfo() with IPPROTO_MPTCP in more places.

- Patch 3-6: prepare and add support to get info for a specific subflow
  when giving the 5-tuple.

- Patch 7: validate the previous patch and cover "subflow_get_info_size"
  in the kernel code (mptcp_diag.c).

Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
---
Gang Yan (5):
      selftests: mptcp: add struct params in mptcp_diag
      selftests: mptcp: refactor send_query parameters for code clarity
      selftests: mptcp: refactor NLMSG handling with 'proto'
      selftests: mptcp: add helpers to get subflow_info
      selftests: mptcp: add chk_sublfow in diag.sh

Geliang Tang (1):
      selftests: mptcp: sockopt: use IPPROTO_MPTCP for getaddrinfo

Matthieu Baerts (NGI0) (1):
      selftests: mptcp: info: hide 'grep: write error' warnings

 tools/testing/selftests/net/mptcp/diag.sh         |  32 +++
 tools/testing/selftests/net/mptcp/mptcp_diag.c    | 228 +++++++++++++++++++---
 tools/testing/selftests/net/mptcp/mptcp_inq.c     |  16 +-
 tools/testing/selftests/net/mptcp/mptcp_lib.sh    |   7 +-
 tools/testing/selftests/net/mptcp/mptcp_sockopt.c |  16 +-
 5 files changed, 257 insertions(+), 42 deletions(-)
---
base-commit: 630cb33ccfcd04563598d0f0edd96c94ddf3352d
change-id: 20250502-net-next-mptcp-sft-inc-cover-f5eda7035432

Best regards,

Comments

patchwork-bot+netdevbpf@kernel.org May 6, 2025, 12:01 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Fri, 02 May 2025 14:29:20 +0200 you wrote:
> Here are various patches slightly improving MPTCP code coverage:
> 
> - Patch 1: avoid a harmless 'grep: write error' warning.
> 
> - Patch 2: use getaddrinfo() with IPPROTO_MPTCP in more places.
> 
> - Patch 3-6: prepare and add support to get info for a specific subflow
>   when giving the 5-tuple.
> 
> [...]

Here is the summary with links:
  - [net-next,1/7] selftests: mptcp: info: hide 'grep: write error' warnings
    https://git.kernel.org/netdev/net-next/c/6d0eb15c6501
  - [net-next,2/7] selftests: mptcp: sockopt: use IPPROTO_MPTCP for getaddrinfo
    https://git.kernel.org/netdev/net-next/c/dd367e81b79a
  - [net-next,3/7] selftests: mptcp: add struct params in mptcp_diag
    https://git.kernel.org/netdev/net-next/c/cd732d5110a2
  - [net-next,4/7] selftests: mptcp: refactor send_query parameters for code clarity
    https://git.kernel.org/netdev/net-next/c/3fea468dca4f
  - [net-next,5/7] selftests: mptcp: refactor NLMSG handling with 'proto'
    https://git.kernel.org/netdev/net-next/c/caa6811ccaed
  - [net-next,6/7] selftests: mptcp: add helpers to get subflow_info
    https://git.kernel.org/netdev/net-next/c/c7ac7452df70
  - [net-next,7/7] selftests: mptcp: add chk_sublfow in diag.sh
    https://git.kernel.org/netdev/net-next/c/110f8f77fd8d

You are awesome, thank you!