mptcp: Userspace path manager API
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
Patches in v1 All 13 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | mptcp: handle local addrs announced by userspace PMsnet/ net/ net/ +3 more | +113 | 0 replies | Applied |
| 2/13 | mptcp: read attributes of addr entries managed by userspace PMsnet/ net/ net/ +1 more | +62 | 0 replies | Applied |
| 3/13 | mptcp: netlink: split mptcp_pm_parse_addr into two functionsnet/ | +39 | 0 replies | Applied |
| 4/13 | mptcp: netlink: Add MPTCP_PM_CMD_ANNOUNCEinclude/ net/ net/ +1 more | +81 | 0 replies | Applied |
| 5/13 | selftests: mptcp: support MPTCP_PM_CMD_ANNOUNCEtools/ | +131 | 0 replies | Applied |
| 6/13 | mptcp: netlink: Add MPTCP_PM_CMD_REMOVEinclude/ net/ net/ +1 more | +76 | 0 replies | Applied |
| 7/13 | selftests: mptcp: support MPTCP_PM_CMD_REMOVEtools/ | +52 | 0 replies | Applied |
| 8/13 | mptcp: netlink: allow userspace-driven subflow establishmentinclude/ net/ net/ +1 more | +214 | 0 replies | Applied |
| 9/13 | selftests: mptcp: support MPTCP_PM_CMD_SUBFLOW_CREATEtools/ | +129 | 0 replies | Applied |
| 10/13 | selftests: mptcp: support MPTCP_PM_CMD_SUBFLOW_DESTROYtools/ | +115 | 0 replies | Applied |
| 11/13 | selftests: mptcp: capture netlink eventstools/ | +157 | 0 replies | Applied |
| 12/13 | selftests: mptcp: create listeners to receive MPJstools/ | +54 | 0 replies | Applied |
| 13/13 | selftests: mptcp: functional tests for the userspace PM typetools/ | +779 | 0 replies | Applied |
Reviews trailers per patch
All 13 patches have a Reviewed-by or Acked-by.
| Patch | Paolo Abeni |
|---|---|
| 1/13 | A-b |
| 2/13 | A-b |
| 3/13 | A-b |
| 4/13 | A-b |
| 5/13 | A-b |
| 6/13 | A-b |
| 7/13 | A-b |
| 8/13 | A-b |
| 9/13 | A-b |
| 10/13 | A-b |
| 11/13 | A-b |
| 12/13 | A-b |
| 13/13 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 00/13] mptcp: Userspace path manager API
Userspace path managers (PMs) make use of generic netlink MPTCP events and commands to control addition and removal of MPTCP subflows on an existing MPTCP connection. The path manager events have already been upstream for a while, and this patch series adds four netlink commands for userspace:
* MPTCP_PM_CMD_ANNOUNCE: advertise an address that's available for additional subflow connections.
* MPTCP_PM_CMD_REMOVE: revoke an advertisement
* MPTCP_PM_CMD_SUBFLOW_CREATE: initiate a new subflow on an existing MPTCP connection
* MPTCP_PM_CMD_SUBFLOW_DESTROY: close a subflow on an existing MPTCP connection
Userspace path managers, such as mptcpd, can be more easily customized for different devices. The in-kernel path manager remains available to handle server use cases.
Patches 1-3 update common path manager code (used by both in-kernel and userspace PMs)
Patches 4, 6, and 8 implement the new generic netlink commands.
Patches 5, 7, and 9-13 add self test support and test cases for the new path manager commands.
Florian Westphal (2):
mptcp: netlink: split mptcp_pm_parse_addr into two functions
mptcp: netlink: allow userspace-driven subflow establishment
Kishen Maloor (11):
mptcp: handle local addrs announced by userspace PMs
mptcp: read attributes of addr entries managed by userspace PMs
mptcp: netlink: Add MPTCP_PM_CMD_ANNOUNCE
selftests: mptcp: support MPTCP_PM_CMD_ANNOUNCE
mptcp: netlink: Add MPTCP_PM_CMD_REMOVE
selftests: mptcp: support MPTCP_PM_CMD_REMOVE
selftests: mptcp: support MPTCP_PM_CMD_SUBFLOW_CREATE
selftests: mptcp: support MPTCP_PM_CMD_SUBFLOW_DESTROY
selftests: mptcp: capture netlink events
selftests: mptcp: create listeners to receive MPJs
selftests: mptcp: functional tests for the userspace PM type
include/uapi/linux/mptcp.h | 7 + net/mptcp/Makefile | 2 +- net/mptcp/pm.c | 1 + net/mptcp/pm_netlink.c | 157 ++-- net/mptcp/pm_userspace.c | 429 ++++++++++ net/mptcp/protocol.c | 1 + net/mptcp/protocol.h | 37 +- net/mptcp/subflow.c | 2 +- tools/testing/selftests/net/mptcp/pm_nl_ctl.c | 645 ++++++++++++++- .../selftests/net/mptcp/userspace_pm.sh | 779 ++++++++++++++++++ 10 files changed, 1999 insertions(+), 61 deletions(-) create mode 100644 net/mptcp/pm_userspace.c create mode 100755 tools/testing/selftests/net/mptcp/userspace_pm.sh
base-commit: f43f0cd2d9b07caf38d744701b0b54d4244da8cc
Signature · 1 line
2.36.0