public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 00/11] mptcp: MIB counters for MPJ TX + misc improvements
@ 2024-09-02 10:45 Matthieu Baerts (NGI0)
  2024-09-02 10:45 ` [PATCH net-next 01/11] mptcp: pm: rename helpers linked to 'flush' Matthieu Baerts (NGI0)
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: Matthieu Baerts (NGI0) @ 2024-09-02 10:45 UTC (permalink / raw)
  To: mptcp, Mat Martineau, Geliang Tang, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Shuah Khan
  Cc: netdev, linux-kselftest, linux-kernel, Matthieu Baerts (NGI0),
	Geliang Tang

Recently, a few issues have been discovered around the creation of
additional subflows. Without these counters, it was difficult to point
out the reason why some subflows were not created as expected.

In patch 3, all error paths from __mptcp_subflow_connect() are covered,
except the one related to the 'fully established mode', because it can
only happen with the userspace PM, which will propagate the error to the
userspace in this case (ENOTCONN).

These new counters are also verified in the MPTCP Join selftest in patch
6.

While at it, a few other patches are improving the MPTCP path-manager
code ...

 - Patch 1: 'flush' related helpers are renamed to avoid confusions
 - Patch 2: directly pass known ID and flags to create a new subflow,
            i/o getting them later by iterating over all endpoints again

... and the MPJoin selftests:

 - Patch 4: reduce the number of positional parameters
 - Patch 5: only one line for the 'join' checks, instead of 3
 - Patch 7: more explicit check names, instead of sometimes too cryptic
            ones: rtx, ptx, ftx, ctx, fclzrx, sum
 - Patch 8: specify client/server instead of 'invert' for some checks
            not suggesting one specific direction
 - Patch 9: mute errors of mptcp_connect when ran in the background
 - Patch 10: simplify checksum_tests by using a for-loop
 - Patch 11: remove 'define' re-definitions

Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
---
Geliang Tang (1):
      selftests: mptcp: join: simplify checksum_tests

Matthieu Baerts (NGI0) (10):
      mptcp: pm: rename helpers linked to 'flush'
      mptcp: pm: reduce entries iterations on connect
      mptcp: MIB counters for sent MP_JOIN
      selftests: mptcp: join: reduce join_nr params
      selftests: mptcp: join: one line for join check
      selftests: mptcp: join: validate MPJ SYN TX MIB counters
      selftests: mptcp: join: more explicit check name
      selftests: mptcp: join: specify host being checked
      selftests: mptcp: join: mute errors when ran in the background
      selftests: mptcp: pm_nl_ctl: remove re-definition

 net/mptcp/mib.c                                 |   4 +
 net/mptcp/mib.h                                 |   4 +
 net/mptcp/pm.c                                  |  11 -
 net/mptcp/pm_netlink.c                          |  78 ++----
 net/mptcp/pm_userspace.c                        |  40 +--
 net/mptcp/protocol.h                            |  16 +-
 net/mptcp/subflow.c                             |  50 +++-
 tools/testing/selftests/net/mptcp/mptcp_join.sh | 350 ++++++++++++++----------
 tools/testing/selftests/net/mptcp/pm_nl_ctl.c   |  10 +-
 9 files changed, 309 insertions(+), 254 deletions(-)
---
base-commit: 221f9cce949ac8042f65b71ed1fde13b99073256
change-id: 20240902-net-next-mptcp-mib-mpjtx-misc-d80298438016

Best regards,
-- 
Matthieu Baerts (NGI0) <matttbe@kernel.org>


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

end of thread, other threads:[~2024-09-03 22:30 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-02 10:45 [PATCH net-next 00/11] mptcp: MIB counters for MPJ TX + misc improvements Matthieu Baerts (NGI0)
2024-09-02 10:45 ` [PATCH net-next 01/11] mptcp: pm: rename helpers linked to 'flush' Matthieu Baerts (NGI0)
2024-09-02 10:45 ` [PATCH net-next 02/11] mptcp: pm: reduce entries iterations on connect Matthieu Baerts (NGI0)
2024-09-02 10:45 ` [PATCH net-next 03/11] mptcp: MIB counters for sent MP_JOIN Matthieu Baerts (NGI0)
2024-09-02 10:45 ` [PATCH net-next 04/11] selftests: mptcp: join: reduce join_nr params Matthieu Baerts (NGI0)
2024-09-02 10:45 ` [PATCH net-next 05/11] selftests: mptcp: join: one line for join check Matthieu Baerts (NGI0)
2024-09-02 10:45 ` [PATCH net-next 06/11] selftests: mptcp: join: validate MPJ SYN TX MIB counters Matthieu Baerts (NGI0)
2024-09-02 10:45 ` [PATCH net-next 07/11] selftests: mptcp: join: more explicit check name Matthieu Baerts (NGI0)
2024-09-02 10:45 ` [PATCH net-next 08/11] selftests: mptcp: join: specify host being checked Matthieu Baerts (NGI0)
2024-09-02 10:46 ` [PATCH net-next 09/11] selftests: mptcp: join: mute errors when ran in the background Matthieu Baerts (NGI0)
2024-09-02 10:46 ` [PATCH net-next 10/11] selftests: mptcp: join: simplify checksum_tests Matthieu Baerts (NGI0)
2024-09-02 10:46 ` [PATCH net-next 11/11] selftests: mptcp: pm_nl_ctl: remove re-definition Matthieu Baerts (NGI0)
2024-09-03 22:30 ` [PATCH net-next 00/11] mptcp: MIB counters for MPJ TX + misc improvements 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