Skip to content

mptcp: Improve set-flags command and update self tests

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 Latest9 patches 0 repliesApplied 9/9

Patches in v1 All 9 applied

#Subject and filesSizeRepliesApplied
1/9mptcp: allow to use port and non-signal in set_flagsnet/mptcp/pm_netlink.c+6 -70 repliesApplied
2/9selftests: mptcp: add the port argument for set_flagstools/testing/selftests/net/mptcp/pm_nl_ctl.c+13 -10 repliesApplied
3/9selftests: mptcp: add backup with port testcasetools/testing/selftests/net/mptcp/mptcp_join.sh+39 -50 repliesApplied
4/9selftests: mptcp: add ip mptcp wrapperstools/testing/selftests/net/mptcp/mptcp_join.sh+407 -3300 repliesApplied
5/9selftests: mptcp: add wrapper for showing addrstools/testing/selftests/net/mptcp/mptcp_join.sh+50 -280 repliesApplied
6/9selftests: mptcp: add wrapper for setting flagstools/testing/selftests/net/mptcp/mptcp_join.sh+21 -30 repliesApplied
7/9selftests: mptcp: add the id argument for set_flagstools/testing/selftests/net/mptcp/pm_nl_ctl.c+42 -210 repliesApplied
8/9selftests: mptcp: add set_flags tests in pm_netlink.shtools/testing/selftests/net/mptcp/pm_netlink.sh+18 -00 repliesApplied
9/9selftests: mptcp: set ip_mptcp in command linetools/testing/selftests/net/mptcp/mptcp_join.sh+9 -30 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/9] mptcp: Improve set-flags command and update self tests

Patches 1-3 allow more flexibility in the combinations of features and flags allowed with the MPTCP_PM_CMD_SET_FLAGS netlink command, and add self test case coverage for the new functionality.

Patches 4-6 and 9 refactor the mptcp_join.sh self tests to allow them to configure all of the test cases using either the pm_nl_ctl utility (part of the mptcp self tests) or the 'ip mptcp' command (from iproute2). The default remains to use pm_nl_ctl.

Patches 7 and 8 update the pm_netlink.sh self tests to cover the use of endpoint ids to set endpoint flags (instead of just addresses).

Geliang Tang (9):
mptcp: allow to use port and non-signal in set_flags
selftests: mptcp: add the port argument for set_flags
selftests: mptcp: add backup with port testcase
selftests: mptcp: add ip mptcp wrappers
selftests: mptcp: add wrapper for showing addrs
selftests: mptcp: add wrapper for setting flags
selftests: mptcp: add the id argument for set_flags
selftests: mptcp: add set_flags tests in pm_netlink.sh
selftests: mptcp: set ip_mptcp in command line

 net/mptcp/pm_netlink.c                        |  13 +-
 .../testing/selftests/net/mptcp/mptcp_join.sh | 877 +++++++++++-------
 .../testing/selftests/net/mptcp/pm_netlink.sh |  18 +
 tools/testing/selftests/net/mptcp/pm_nl_ctl.c |  75 +-
 4 files changed, 595 insertions(+), 388 deletions(-)

base-commit: c531adaf884d313df2729ca94228317a52e46b83

Signature · 1 line
2.35.1