netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/7] selftests: mptcp: increase code coverage
@ 2025-05-02 12:29 Matthieu Baerts (NGI0)
  2025-05-02 12:29 ` [PATCH net-next 1/7] selftests: mptcp: info: hide 'grep: write error' warnings Matthieu Baerts (NGI0)
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Matthieu Baerts (NGI0) @ 2025-05-02 12:29 UTC (permalink / raw)
  To: mptcp, Mat Martineau, Geliang Tang, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Simon Horman, Shuah Khan
  Cc: netdev, linux-kselftest, linux-kernel, Matthieu Baerts (NGI0),
	Gang Yan, Geliang Tang

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,
-- 
Matthieu Baerts (NGI0) <matttbe@kernel.org>


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

end of thread, other threads:[~2025-05-06  0:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-02 12:29 [PATCH net-next 0/7] selftests: mptcp: increase code coverage Matthieu Baerts (NGI0)
2025-05-02 12:29 ` [PATCH net-next 1/7] selftests: mptcp: info: hide 'grep: write error' warnings Matthieu Baerts (NGI0)
2025-05-02 12:29 ` [PATCH net-next 2/7] selftests: mptcp: sockopt: use IPPROTO_MPTCP for getaddrinfo Matthieu Baerts (NGI0)
2025-05-02 12:29 ` [PATCH net-next 3/7] selftests: mptcp: add struct params in mptcp_diag Matthieu Baerts (NGI0)
2025-05-02 12:29 ` [PATCH net-next 4/7] selftests: mptcp: refactor send_query parameters for code clarity Matthieu Baerts (NGI0)
2025-05-02 12:29 ` [PATCH net-next 5/7] selftests: mptcp: refactor NLMSG handling with 'proto' Matthieu Baerts (NGI0)
2025-05-02 12:29 ` [PATCH net-next 6/7] selftests: mptcp: add helpers to get subflow_info Matthieu Baerts (NGI0)
2025-05-02 12:29 ` [PATCH net-next 7/7] selftests: mptcp: add chk_sublfow in diag.sh Matthieu Baerts (NGI0)
2025-05-06  0:01 ` [PATCH net-next 0/7] selftests: mptcp: increase code coverage 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;
as well as URLs for NNTP newsgroup(s).