mptcp: add the subflow-retries limit
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest3 patches 0 repliesNew
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | uapi: mptcp: add the subflow-retries limitinclude/ include/ | +2 | 0 replies | |
| 2/3 | mptcp: limits: add subflow_retriesip/ man/ | +30 | 0 replies | |
| 3/3 | ss: mptcp: show the subflow-retries limitmisc/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH iproute2-mptcp v2 0/3] mptcp: add the subflow-retries limit
This adds the new subflow-retries limit of the in-kernel path manager to "ip mptcp limits", and shows it in "ss -Mi", as Matt suggested on the kernel series:
https://lore.kernel.org/mptcp/[email protected]/
Patch 1 adds the new attribute and the new mptcp_info field to the copied uapi headers. 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.
Patch 3 shows the limit in "ss -Mi". If the split of ss.c lands first, I will rebase it:
https://lore.kernel.org/[email protected]
Tested in a VM with the kernel series applied: show, set, a partial set keeping the other limits, JSON output, the maximum (127 accepted, 128 refused by the kernel), and "ss -Mi" with the limit at 127, 5 and 0. With an older kernel, nothing new is shown, and setting the limit is accepted but ignored by the kernel.
The fix for "pm_netlink.sh -i" with this ip will be in v16 of the kernel series.
Changes in v2: show the limit in ss, as Matt asked, with the new mptcp_info field in patch 1; and the iproute2-mptcp prefix.
v1: https://lore.kernel.org/mptcp/[email protected]/
I used an LLM to help write and review these patches. I checked and tested every change myself.
Anil Kaushik (3):
uapi: mptcp: add the subflow-retries limit
mptcp: limits: add subflow_retries
ss: mptcp: show the subflow-retries limit
include/uapi/linux/mptcp.h | 2 +- include/uapi/linux/mptcp_pm.h | 1 + ip/ipmptcp.c | 21 ++++++++++++++++++++- man/man8/ip-mptcp.8 | 10 ++++++++++ misc/ss.c | 3 +++ 5 files changed, 35 insertions(+), 2 deletions(-)
base-commit: 87cb3f4198507331b9308689d4a726d17db63dd3
Signature · 1 line
2.25.1