mirror_ubuntu-kernels/tools/testing/selftests/net/mptcp
Christoph Paasch e548465818 selftests/mptcp: Better delay & reordering configuration
The delay was intended to be configured to "simulate" a high(er) BDP
link. As such, it needs to be set as part of the loss-configuration and
not as part of the netem reordering configuration.

The reordering-config also requires a delay but that delay is the
reordering-extend. So, a good approach is to set the reordering-extend
as a function of the configured latency. E.g., 25% of the overall
latency.

To speed up the selftests, we limit the delay to 50ms maximum to avoid
having the selftests run for too long.

Finally, the intention of tc_reorder was that when it is unset, the test
picks a random configuration. However, currently it is always initialized
and thus the random config won't be picked up.

Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/6
Reported-and-reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Christoph Paasch <cpaasch@apple.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-09-10 13:28:20 -07:00
..
.gitignore SPDX patches for 5.7-rc1. 2020-04-03 13:12:26 -07:00
config selftests: mptcp: fix dependecies 2020-08-07 17:22:49 -07:00
diag.sh selftests/mptcp: add diag interface tests 2020-07-09 12:38:41 -07:00
Makefile selftests/mptcp: add diag interface tests 2020-07-09 12:38:41 -07:00
mptcp_connect.c selftests: mptcp: fix typo in mptcp_connect usage 2020-09-02 14:12:44 -07:00
mptcp_connect.sh selftests/mptcp: Better delay & reordering configuration 2020-09-10 13:28:20 -07:00
mptcp_join.sh selftests: mptcp: add test cases for mptcp join tests with syn cookies 2020-07-31 16:55:32 -07:00
pm_netlink.sh selftests: mptcp: pm: rm the right tmp file 2020-05-15 10:33:56 -07:00
pm_nl_ctl.c selftests:mptcp: fix failure due to whitespace damage 2020-03-30 10:25:34 -07:00
settings mptcp: add basic kselftest for mptcp 2020-01-24 13:44:08 +01:00