Skip to content

mptcp: Path manager mode selection

Mat Martineau mptcp netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 3 repliesApplied 6/6

Patches in v1 All 6 applied

#Subject and filesSizeRepliesApplied
1/6mptcp: Remove redundant assignments in path manager initnet/mptcp/pm.c net/mptcp/pm_netlink.c net/mptcp/protocol.h+18 -270 repliesApplied
2/6mptcp: Add a member to mptcp_pm_data to track kernel vs userspace modenet/mptcp/pm.c net/mptcp/protocol.h+13 -00 repliesApplied
3/6mptcp: Bypass kernel PM when userspace PM is enablednet/mptcp/pm.c net/mptcp/protocol.h+6 -10 repliesApplied
4/6mptcp: Make kernel path manager check for userspace-managed socketsnet/mptcp/pm_netlink.c+12 -60 repliesApplied
5/6mptcp: Add a per-namespace sysctl to set the default path manager typeDocumentation/networking/mptcp-sysctl.rst net/mptcp/ctrl.c net/mptcp/pm.c +1 more+63 -110 repliesApplied
6/6selftests: mptcp: Add tests for userspace PM typetools/testing/selftests/net/mptcp/mptcp_join.sh+66 -00 repliesApplied

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchPaolo AbeniGeliang Tang
1/6A-b
2/6A-b
3/6A-b
4/6A-b
5/6A-b
6/6A-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/6] mptcp: Path manager mode selection

MPTCP already has an in-kernel path manager (PM) to add and remove TCP subflows associated with a given MPTCP connection. This in-kernel PM has been designed to handle typical server-side use cases, but is not very flexible or configurable for client devices that may have more complicated policies to implement.

This patch series from the MPTCP tree is the first step toward adding a generic-netlink-based API for MPTCP path management, which a privileged userspace daemon will be able to use to control subflow establishment. These patches add a per-namespace sysctl to select the default PM type (in-kernel or userspace) for new MPTCP sockets. New self-tests confirm expected behavior when userspace PM is selected but there is no daemon available to handle existing MPTCP PM events.

Subsequent patch series (already staged in the MPTCP tree) will add the generic netlink path management API.

Mat Martineau (6):
mptcp: Remove redundant assignments in path manager init
mptcp: Add a member to mptcp_pm_data to track kernel vs userspace mode
mptcp: Bypass kernel PM when userspace PM is enabled
mptcp: Make kernel path manager check for userspace-managed sockets
mptcp: Add a per-namespace sysctl to set the default path manager type
selftests: mptcp: Add tests for userspace PM type

 Documentation/networking/mptcp-sysctl.rst     | 18 +++++
 net/mptcp/ctrl.c                              | 21 ++++++
 net/mptcp/pm.c                                | 50 +++++++++-----
 net/mptcp/pm_netlink.c                        | 30 ++++-----
 net/mptcp/protocol.h                          | 16 ++++-
 .../testing/selftests/net/mptcp/mptcp_join.sh | 66 +++++++++++++++++++
 6 files changed, 167 insertions(+), 34 deletions(-)

base-commit: 03fa8fc93e443e6caa485cc741328a1386c63630

Signature · 1 line
2.36.0