All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH mptcp-net v6 00/19] mptcp: pm: increase limits, and related fixes and cleanup
@ 2026-04-22 16:40 Matthieu Baerts (NGI0)
  2026-04-22 16:40 ` [PATCH mptcp-net v6 01/19] mptcp: pm: kernel: correctly retransmit ADD_ADDR ID 0 Matthieu Baerts (NGI0)
                   ` (20 more replies)
  0 siblings, 21 replies; 23+ messages in thread
From: Matthieu Baerts (NGI0) @ 2026-04-22 16:40 UTC (permalink / raw)
  To: MPTCP Upstream; +Cc: Matthieu Baerts (NGI0)

The initial intension was to increase the limits, but some fixes were
needed, then when looking at the code around, other fixes had to be
added too. So now I ended up with multiple fixes (including one early
exit while at it), followed by patches increasing limits with some
adaptations required before, some to validate the modifications, and one
small improvement in the selftests.

The patches with a Fixes tag are for -net, the rest for net-next.

Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
---
Changes in v6:
- patch 4: fix label name in commit message + mention next patch.
- patch 7: use min() to improve clarity (Mat)
- patch 15: fix typo.
- patch 20: removed: will be sent in another series after that one.
- Link to v5: https://patch.msgid.link/20260415-mptcp-inc-limits-v5-0-e54c3bf80e4e@kernel.org

Changes in v5:
- patch 5: only set timer_done to true in the timer handler: safer.
- patch 9: fix typo in commit message.
- patch 10: 3rd check expects error, better err msg, rename var.
- Link to v4: https://patch.msgid.link/20260414-mptcp-inc-limits-v4-0-78274edda5dd@kernel.org

Changes in v4:
- patch 5: reset timer_done when the timer is reset.
- patch 10: new: selftests: correctly catch error in 'check output'.
- patch 16: add example with init_shapers to silence AI reviews
- Patch 18: clearer way to check errors (without buggy '&&')
- Link to v3: https://patch.msgid.link/20260413-mptcp-inc-limits-v3-0-dd36c9360432@kernel.org

Changes in v3:
- patch 1: new: retransmit ADD_ADDR for ID 0 with right ID.
- patch 5: moved below + support calling sk_free().
- patch 13: new: allow flushing more than 8 endpoints.
- patch 12: clarify single batch of 8 subflows as known limit.
- patch 16: fix typo in comment.
- Link to v2: https://patch.msgid.link/20260410-mptcp-inc-limits-v2-0-5402209f05d3@kernel.org

Changes in v2:
- patch 2: new: fix potential data-race.
- re-order patches 1 to 5 and use shorter prefix (ADD_ADDR rtx).
- patch 6: restore accidentally deleted icsk->icsk_rto > max check.
- patch 16: fix already present checkpatch warning.
- Link to v1: https://patch.msgid.link/20260409-mptcp-inc-limits-v1-0-0e45fa30d914@kernel.org

---
Matthieu Baerts (NGI0) (19):
      mptcp: pm: kernel: correctly retransmit ADD_ADDR ID 0
      mptcp: pm: ADD_ADDR rtx: fix potential data-race
      mptcp: pm: ADD_ADDR rtx: allow ID 0
      mptcp: pm: ADD_ADDR rtx: always decrease sk refcount
      mptcp: pm: ADD_ADDR rtx: free sk if last
      mptcp: pm: ADD_ADDR rtx: resched blocked ADD_ADDR quicker
      mptcp: pm: ADD_ADDR rtx: skip inactive subflows
      mptcp: pm: retrans ADD_ADDR: return early if no retrans
      mptcp: pm: prio: skip closed subflows
      selftests: mptcp: check output: catch cmd errors
      selftests: mptcp: pm: restrict 'unknown' check to pm_nl_ctl
      mptcp: pm: in-kernel: explicitly limit batches to array size
      mptcp: pm: in-kernel: increase all limits to 64
      mptcp: pm: kernel: allow flushing more than 8 endpoints
      mptcp: pm: in-kernel: increase endpoints limit
      selftests: mptcp: join: allow changing ifaces nr per test
      selftests: mptcp: join: validate 8x8 subflows
      selftests: mptcp: pm: validate new limits
      selftests: mptcp: pm: use simpler send/recv forms

 net/mptcp/pm.c                                  | 62 +++++++++++------
 net/mptcp/pm_kernel.c                           | 90 ++++++++++++++++---------
 tools/testing/selftests/net/mptcp/mptcp_join.sh | 33 ++++++++-
 tools/testing/selftests/net/mptcp/mptcp_lib.sh  | 16 +++--
 tools/testing/selftests/net/mptcp/pm_netlink.sh | 74 ++++++++++++--------
 tools/testing/selftests/net/mptcp/pm_nl_ctl.c   |  8 +--
 6 files changed, 193 insertions(+), 90 deletions(-)
---
base-commit: b3fa12c3ddab70d570c42071efb0edd5dad07060
change-id: 20260403-mptcp-inc-limits-ce9811024066

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


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

end of thread, other threads:[~2026-04-29  7:39 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-22 16:40 [PATCH mptcp-net v6 00/19] mptcp: pm: increase limits, and related fixes and cleanup Matthieu Baerts (NGI0)
2026-04-22 16:40 ` [PATCH mptcp-net v6 01/19] mptcp: pm: kernel: correctly retransmit ADD_ADDR ID 0 Matthieu Baerts (NGI0)
2026-04-22 16:40 ` [PATCH mptcp-net v6 02/19] mptcp: pm: ADD_ADDR rtx: fix potential data-race Matthieu Baerts (NGI0)
2026-04-22 16:40 ` [PATCH mptcp-net v6 03/19] mptcp: pm: ADD_ADDR rtx: allow ID 0 Matthieu Baerts (NGI0)
2026-04-22 16:40 ` [PATCH mptcp-net v6 04/19] mptcp: pm: ADD_ADDR rtx: always decrease sk refcount Matthieu Baerts (NGI0)
2026-04-22 16:40 ` [PATCH mptcp-net v6 05/19] mptcp: pm: ADD_ADDR rtx: free sk if last Matthieu Baerts (NGI0)
2026-04-22 16:40 ` [PATCH mptcp-net v6 06/19] mptcp: pm: ADD_ADDR rtx: resched blocked ADD_ADDR quicker Matthieu Baerts (NGI0)
2026-04-22 16:40 ` [PATCH mptcp-net v6 07/19] mptcp: pm: ADD_ADDR rtx: skip inactive subflows Matthieu Baerts (NGI0)
2026-04-22 16:40 ` [PATCH mptcp-net v6 08/19] mptcp: pm: retrans ADD_ADDR: return early if no retrans Matthieu Baerts (NGI0)
2026-04-22 16:40 ` [PATCH mptcp-net v6 09/19] mptcp: pm: prio: skip closed subflows Matthieu Baerts (NGI0)
2026-04-22 16:40 ` [PATCH mptcp-net v6 10/19] selftests: mptcp: check output: catch cmd errors Matthieu Baerts (NGI0)
2026-04-22 16:40 ` [PATCH mptcp-net v6 11/19] selftests: mptcp: pm: restrict 'unknown' check to pm_nl_ctl Matthieu Baerts (NGI0)
2026-04-22 16:40 ` [PATCH mptcp-net v6 12/19] mptcp: pm: in-kernel: explicitly limit batches to array size Matthieu Baerts (NGI0)
2026-04-22 16:40 ` [PATCH mptcp-net v6 13/19] mptcp: pm: in-kernel: increase all limits to 64 Matthieu Baerts (NGI0)
2026-04-22 16:40 ` [PATCH mptcp-net v6 14/19] mptcp: pm: kernel: allow flushing more than 8 endpoints Matthieu Baerts (NGI0)
2026-04-22 16:40 ` [PATCH mptcp-net v6 15/19] mptcp: pm: in-kernel: increase endpoints limit Matthieu Baerts (NGI0)
2026-04-22 16:40 ` [PATCH mptcp-net v6 16/19] selftests: mptcp: join: allow changing ifaces nr per test Matthieu Baerts (NGI0)
2026-04-22 16:40 ` [PATCH mptcp-net v6 17/19] selftests: mptcp: join: validate 8x8 subflows Matthieu Baerts (NGI0)
2026-04-22 16:40 ` [PATCH mptcp-net v6 18/19] selftests: mptcp: pm: validate new limits Matthieu Baerts (NGI0)
2026-04-22 16:40 ` [PATCH mptcp-net v6 19/19] selftests: mptcp: pm: use simpler send/recv forms Matthieu Baerts (NGI0)
2026-04-22 17:47 ` [PATCH mptcp-net v6 00/19] mptcp: pm: increase limits, and related fixes and cleanup MPTCP CI
2026-04-29  0:09 ` Mat Martineau
2026-04-29  7:39   ` Matthieu Baerts

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.