Skip to content

mptcp: APIs and self-tests for userspace path management

Kishen Maloor mptcp 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14mptcp: allow ADD_ADDR reissuance by userspace PMsnet/mptcp/pm_netlink.c+10 -20 replies
2/14mptcp: handle local addrs announced by userspace PMsnet/mptcp/pm_netlink.c net/mptcp/protocol.c net/mptcp/protocol.h+79 -00 replies
3/14mptcp: read attributes of addr entries managed by userspace PMsnet/mptcp/pm_netlink.c net/mptcp/protocol.h net/mptcp/subflow.c+67 -330 replies
4/14mptcp: netlink: split mptcp_pm_parse_addr into two functionsnet/mptcp/pm_netlink.c+39 -210 replies
5/14mptcp: netlink: Add MPTCP_PM_CMD_ANNOUNCEinclude/uapi/linux/mptcp.h net/mptcp/pm_netlink.c+66 -00 replies
6/14selftests: mptcp: support MPTCP_PM_CMD_ANNOUNCEtools/testing/selftests/net/mptcp/pm_nl_ctl.c+131 -00 replies
7/14mptcp: netlink: Add MPTCP_PM_CMD_REMOVEinclude/uapi/linux/mptcp.h net/mptcp/pm_netlink.c+65 -00 replies
8/14selftests: mptcp: support MPTCP_PM_CMD_REMOVEtools/testing/selftests/net/mptcp/pm_nl_ctl.c+52 -00 replies
9/14mptcp: netlink: allow userspace-driven subflow establishmentinclude/uapi/linux/mptcp.h net/mptcp/pm_netlink.c+204 -00 replies
10/14selftests: mptcp: support MPTCP_PM_CMD_SUBFLOW_CREATEtools/testing/selftests/net/mptcp/pm_nl_ctl.c+129 -00 replies
11/14selftests: mptcp: support MPTCP_PM_CMD_SUBFLOW_DESTROYtools/testing/selftests/net/mptcp/pm_nl_ctl.c+115 -00 replies
12/14selftests: mptcp: capture netlink eventstools/testing/selftests/net/mptcp/pm_nl_ctl.c+157 -70 replies
13/14selftests: mptcp: create listeners to receive MPJstools/testing/selftests/net/mptcp/pm_nl_ctl.c+51 -00 replies
14/14selftests: mptcp: functional tests for the userspace PM typetools/testing/selftests/net/mptcp/userspace_pm.sh+771 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH mptcp-next 00/14] mptcp: APIs and self-tests for userspace path management

This patch series brings together the base functionality and new netlink APIs for flexible path management from userspace. Further it extends the MPTCP self-testing framework to support the new netlink APIs along with the ability to capture MPTCP netlink events to aid in functional/behavioral validations. Lastly, it adds a self-testing script with a suite of test cases covering the entire range of the new userspace path management capabilities.

Note: This series depends on the prior patchset "mptcp: fixes and enhancements related to path management".

Florian Westphal (2):
mptcp: netlink: split mptcp_pm_parse_addr into two functions
mptcp: netlink: allow userspace-driven subflow establishment

Kishen Maloor (12):
mptcp: allow ADD_ADDR reissuance by userspace PMs
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/pm_netlink.c                        | 570 +++++++++++--
 net/mptcp/protocol.c                          |   2 +
 net/mptcp/protocol.h                          |   5 +-
 net/mptcp/subflow.c                           |   2 +-
 tools/testing/selftests/net/mptcp/pm_nl_ctl.c | 642 ++++++++++++++-
 .../selftests/net/mptcp/userspace_pm.sh       | 771 ++++++++++++++++++
 7 files changed, 1936 insertions(+), 63 deletions(-)
 create mode 100755 tools/testing/selftests/net/mptcp/userspace_pm.sh

base-commit: 2a9f09777d24fc18cc62762b398054d3961ad8bf
prerequisite-patch-id: 20845587057b7bd3f8726eef5a28578d5f01634b
prerequisite-patch-id: 4b1b25e0f761f6adf36c3d270faf86723019c2b4
prerequisite-patch-id: d226de51a08a67605829c0b9425348cdff5a8699
prerequisite-patch-id: 60e0fae2bad56928af787f76cfbf80a6e4a0f790
prerequisite-patch-id: a347386be396a7513fa37db5655441d459230ac6 --
2.31.1