[PATCH net-next 0/8] selftests: mptcp: counter cache & stats before timeout

Matthieu Baerts (NGI0) posted 8 patches 1 week, 5 days ago
Failed in applying to current master (apply log)
tools/testing/selftests/net/mptcp/mptcp_connect.sh | 140 ++++++++++-----------
tools/testing/selftests/net/mptcp/mptcp_join.sh    |  65 +++++-----
tools/testing/selftests/net/mptcp/mptcp_lib.sh     |  58 +++++++--
tools/testing/selftests/net/mptcp/mptcp_sockopt.sh |  43 ++++---
tools/testing/selftests/net/mptcp/simult_flows.sh  |  44 ++++---
tools/testing/selftests/net/mptcp/userspace_pm.sh  |   3 +-
6 files changed, 203 insertions(+), 150 deletions(-)
[PATCH net-next 0/8] selftests: mptcp: counter cache & stats before timeout
Posted by Matthieu Baerts (NGI0) 1 week, 5 days ago
Here are a bunch of small improvements to the MPTCP selftests:

- Patch 1: move code to mptcp_lib.sh to prepare the new features.

- Patch 2: simplify mptcp_lib_pr_err_stats helper use.

- Patch 3: remove unused last column from nstat output.

- Patch 4: improve stats dump in mptcp_join.sh.

- Patch 5: get counters from nstat history and simplify mptcp_connect.sh.

- Patch 6: avoid taking the same packet trace twice.

- Patch 7: wait for an event instead of a fix time.

- Patch 8: instead of using 'timeout' and print the stats after, another
  internal timeout is used: if it fires, it will print stats, then stop
  everything. This avoids confusions around stats in case of timeout.

Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
---
Matthieu Baerts (NGI0) (8):
      selftests: mptcp: lib: introduce 'nstat_{init,get}'
      selftests: mptcp: lib: remove stats files args
      selftests: mptcp: lib: stats: remove nstat rate columns
      selftests: mptcp: join: dump stats from history
      selftests: mptcp: lib: get counters from nstat history
      selftests: mptcp: connect: avoid double packet traces
      selftests: mptcp: wait for port instead of sleep
      selftests: mptcp: get stats just before timing out

 tools/testing/selftests/net/mptcp/mptcp_connect.sh | 140 ++++++++++-----------
 tools/testing/selftests/net/mptcp/mptcp_join.sh    |  65 +++++-----
 tools/testing/selftests/net/mptcp/mptcp_lib.sh     |  58 +++++++--
 tools/testing/selftests/net/mptcp/mptcp_sockopt.sh |  43 ++++---
 tools/testing/selftests/net/mptcp/simult_flows.sh  |  44 ++++---
 tools/testing/selftests/net/mptcp/userspace_pm.sh  |   3 +-
 6 files changed, 203 insertions(+), 150 deletions(-)
---
base-commit: df58ee7d8faf353ebf5d4703c35fcf3e578e9b1b
change-id: 20251114-net-next-mptcp-sft-count-cache-stats-timeout-faa64482db92

Best regards,
-- 
Matthieu Baerts (NGI0) <matttbe@kernel.org>
Re: [PATCH net-next 0/8] selftests: mptcp: counter cache & stats before timeout
Posted by patchwork-bot+netdevbpf@kernel.org 1 week, 2 days ago
Hello:

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

On Fri, 14 Nov 2025 19:12:04 +0100 you wrote:
> Here are a bunch of small improvements to the MPTCP selftests:
> 
> - Patch 1: move code to mptcp_lib.sh to prepare the new features.
> 
> - Patch 2: simplify mptcp_lib_pr_err_stats helper use.
> 
> - Patch 3: remove unused last column from nstat output.
> 
> [...]

Here is the summary with links:
  - [net-next,1/8] selftests: mptcp: lib: introduce 'nstat_{init,get}'
    https://git.kernel.org/netdev/net-next/c/d3305c016a6a
  - [net-next,2/8] selftests: mptcp: lib: remove stats files args
    https://git.kernel.org/netdev/net-next/c/a89fc262b626
  - [net-next,3/8] selftests: mptcp: lib: stats: remove nstat rate columns
    https://git.kernel.org/netdev/net-next/c/2e6daf6b9bc8
  - [net-next,4/8] selftests: mptcp: join: dump stats from history
    https://git.kernel.org/netdev/net-next/c/658e53141780
  - [net-next,5/8] selftests: mptcp: lib: get counters from nstat history
    https://git.kernel.org/netdev/net-next/c/71388a9f331d
  - [net-next,6/8] selftests: mptcp: connect: avoid double packet traces
    https://git.kernel.org/netdev/net-next/c/8c1fe0a50051
  - [net-next,7/8] selftests: mptcp: wait for port instead of sleep
    https://git.kernel.org/netdev/net-next/c/39348f5f2f13
  - [net-next,8/8] selftests: mptcp: get stats just before timing out
    https://git.kernel.org/netdev/net-next/c/eea2f44870d2

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html