1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/tools/testing/selftests/net/mptcp
Paolo Abeni 219d04992b mptcp: push pending frames when subflow has free space
When multiple subflows are active, we can receive a
window update on subflow with no write space available.
MPTCP will try to push frames on such subflow and will
fail. Pending frames will be pushed only after receiving
a window update on a subflow with some wspace available.

Overall the above could lead to suboptimal aggregate
bandwidth usage.

Instead, we should try to push pending frames as soon as
the subflow reaches both conditions mentioned above.

We can finally enable self-tests with asymmetric links,
as the above makes them finally pass.

Fixes: 6f8a612a33 ("mptcp: keep track of advertised windows right edge")
Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-12-17 10:24:47 -08:00
..
.gitignore SPDX patches for 5.7-rc1. 2020-04-03 13:12:26 -07:00
config selftests: mptcp: add ADD_ADDR timeout test case 2020-11-04 17:45:53 -08:00
diag.sh selftests/mptcp: add diag interface tests 2020-07-09 12:38:41 -07:00
Makefile mptcp: simult flow self-tests 2020-09-14 13:28:03 -07:00
mptcp_connect.c selftests: mptcp: add remove cfg in mptcp_connect 2020-09-24 19:58:34 -07:00
mptcp_connect.sh selftests: mptcp: interpret \n as a new line 2020-09-17 16:26:09 -07:00
mptcp_join.sh selftests: mptcp: add the flush addrs testcase 2020-12-14 17:30:06 -08: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
simult_flows.sh mptcp: push pending frames when subflow has free space 2020-12-17 10:24:47 -08:00