summaryrefslogtreecommitdiff
path: root/include/linux/raid_class.h
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2026-03-03 11:56:02 +0100
committerJakub Kicinski <kuba@kernel.org>2026-03-04 18:21:12 -0800
commit8c09412e584d9bcc0e71d758ec1008d1c8d1a326 (patch)
treeec138f5faf65fd32a90b1e9db8479cf6691560fe /include/linux/raid_class.h
parentf43ed0c5450cd3a68313c9fd02b298fc58fd4b80 (diff)
selftests: mptcp: more stable simult_flows tests
By default, the netem qdisc can keep up to 1000 packets under its belly to deal with the configured rate and delay. The simult flows test-case simulates very low speed links, to avoid problems due to slow CPUs and the TCP stack tend to transmit at a slightly higher rate than the (virtual) link constraints. All the above causes a relatively large amount of packets being enqueued in the netem qdiscs - the longer the transfer, the longer the queue - producing increasingly high TCP RTT samples and consequently increasingly larger receive buffer size due to DRS. When the receive buffer size becomes considerably larger than the needed size, the tests results can flake, i.e. because minimal inaccuracy in the pacing rate can lead to a single subflow usage towards the end of the connection for a considerable amount of data. Address the issue explicitly setting netem limits suitable for the configured link speeds and unflake all the affected tests. Fixes: 1a418cb8e888 ("mptcp: simult flow self-tests") Cc: stable@vger.kernel.org Signed-off-by: Paolo Abeni <pabeni@redhat.com> Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> Link: https://patch.msgid.link/20260303-net-mptcp-misc-fixes-7-0-rc2-v1-1-4b5462b6f016@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/raid_class.h')
0 files changed, 0 insertions, 0 deletions