Skip to content

MPTCP: Add MP_PRIO support and rework local address IDs

Mat Martineau mptcp netdev 1 version Applied

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 1 replyApplied 8/8

Patches in v1 All 8 applied

#Subject and filesSizeRepliesApplied
1/8mptcp: add the address ID assignment bitmapnet/mptcp/pm_netlink.c+54 -180 repliesApplied
2/8selftests: mptcp: add testcases for setting the address IDtools/testing/selftests/net/mptcp/pm_netlink.sh+39 -20 repliesApplied
3/8mptcp: add the outgoing MP_PRIO supportnet/mptcp/options.c net/mptcp/pm_netlink.c net/mptcp/protocol.h+79 -00 repliesApplied
4/8mptcp: add the incoming MP_PRIO supportnet/mptcp/options.c net/mptcp/pm.c net/mptcp/protocol.h+28 -00 repliesApplied
5/8mptcp: add set_flags command in PM netlinkinclude/uapi/linux/mptcp.h net/mptcp/pm_netlink.c+66 -00 repliesApplied
6/8selftests: mptcp: add set_flags command in pm_nl_ctltools/testing/selftests/net/mptcp/pm_nl_ctl.c+86 -10 repliesApplied
7/8mptcp: add the mibs for MP_PRIOnet/mptcp/mib.c net/mptcp/mib.h net/mptcp/options.c +1 more+7 -00 repliesApplied
8/8selftests: mptcp: add the MP_PRIO testcasestools/testing/selftests/net/mptcp/mptcp_join.sh+71 -10 repliesApplied

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH net-next 0/8] MPTCP: Add MP_PRIO support and rework local address IDs

Here are some patches we've merged in the MPTCP tree that are ready for net-next.

Patches 1 and 2 rework the assignment of local address IDs to allow them to be assigned by a userspace path manager, and add corresponding self tests.

Patches 2-8 add the ability to change subflow priority after a subflow has been established. Each subflow in a MPTCP connection has a priority
level: "regular" or "backup". Data should only be sent on backup subflows if no regular subflows are available. The priority level can be set when the subflow connection is established (as was already implemented), or during the life of the connection by sending MP_PRIO in the TCP options (as added here). Self tests are included.

Geliang Tang (8):
mptcp: add the address ID assignment bitmap
selftests: mptcp: add testcases for setting the address ID
mptcp: add the outgoing MP_PRIO support
mptcp: add the incoming MP_PRIO support
mptcp: add set_flags command in PM netlink
selftests: mptcp: add set_flags command in pm_nl_ctl
mptcp: add the mibs for MP_PRIO
selftests: mptcp: add the MP_PRIO testcases

 include/uapi/linux/mptcp.h                    |   1 +
 net/mptcp/mib.c                               |   2 +
 net/mptcp/mib.h                               |   2 +
 net/mptcp/options.c                           |  56 ++++++
 net/mptcp/pm.c                                |   8 +
 net/mptcp/pm_netlink.c                        | 172 ++++++++++++++++--
 net/mptcp/protocol.h                          |  11 ++
 .../testing/selftests/net/mptcp/mptcp_join.sh |  72 +++++++-
 .../testing/selftests/net/mptcp/pm_netlink.sh |  41 ++++-
 tools/testing/selftests/net/mptcp/pm_nl_ctl.c |  87 ++++++++-
 10 files changed, 430 insertions(+), 22 deletions(-)

base-commit: 833d22f2f922bbee6430e558417af060db6bbe9c

Signature · 1 line
2.30.0