All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH iproute2-next 0/2] mptcp: limits: add subflow_retries
@ 2026-11-19 18:45 Anil Kaushik
  2026-11-19 18:45 ` [PATCH iproute2-next 1/2] uapi: mptcp: add MPTCP_PM_ATTR_SUBFLOW_RETRIES Anil Kaushik
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Anil Kaushik @ 2026-11-19 18:45 UTC (permalink / raw)
  To: mptcp; +Cc: anilkaushikwireless

This adds the new subflow-retries limit of the in-kernel path manager to
"ip mptcp limits", as Matt suggested on the kernel series:

https://lore.kernel.org/mptcp/20261103085244.23064-1-anilkaushikwireless@gmail.com/

Patch 1 adds the new attribute to the copied uapi header. It is only
needed until the iproute2 maintainers update the headers, once the
kernel part is merged.

Patch 2 adds "subflow_retries" to "ip mptcp limits set" and "show", and
to the man page.

Tested in a VM with the kernel series applied: show, set, a partial set
keeping the other limits, JSON output, and the maximum (127 accepted,
128 refused by the kernel).

With this ip, "pm_netlink.sh -i" from the v15 kernel series fails the
"set limits" check, because ip now shows the new limit. I have a fix for
the selftest, which also runs the subflow-retries checks with ip. I can
squash it in the pm_netlink.sh patch of the next version of the series.

I used an LLM to help write and review these patches. I checked and
tested every change myself.

Anil Kaushik (2):
  uapi: mptcp: add MPTCP_PM_ATTR_SUBFLOW_RETRIES
  mptcp: limits: add subflow_retries

 include/uapi/linux/mptcp_pm.h |  1 +
 ip/ipmptcp.c                  | 21 ++++++++++++++++++++-
 man/man8/ip-mptcp.8           | 10 ++++++++++
 3 files changed, 31 insertions(+), 1 deletion(-)


base-commit: 87cb3f4198507331b9308689d4a726d17db63dd3
-- 
2.25.1


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

end of thread, other threads:[~2026-11-19 18:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-19 18:45 [PATCH iproute2-next 0/2] mptcp: limits: add subflow_retries Anil Kaushik
2026-11-19 18:45 ` [PATCH iproute2-next 1/2] uapi: mptcp: add MPTCP_PM_ATTR_SUBFLOW_RETRIES Anil Kaushik
2026-11-19 18:45 ` [PATCH iproute2-next 2/2] mptcp: limits: add subflow_retries Anil Kaushik
2026-11-19 18:54 ` [PATCH iproute2-next 0/2] " 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.