diff options
author | Paolo Abeni <pabeni@redhat.com> | 2022-07-08 10:14:09 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-07-09 12:19:23 +0100 |
commit | d0d9c8f2df60c6d1495201981f4b424628601113 (patch) | |
tree | dd23e8c9bf90f19693d9d0b0e7c6df6d4bd9c234 /net/unix/af_unix.c | |
parent | f7657ff4a7097eaf5220776456b7d75eb09062cb (diff) |
selftests: mptcp: tweak simult_flows for debug kernels
The mentioned test measures the transfer run-time to verify
that the user-space program is able to use the full aggregate B/W.
Even on (virtual) link-speed-bound tests, debug kernel can slow
down the transfer enough to cause sporadic test failures.
Instead of unconditionally raising the maximum allowed run-time,
tweak when the running kernel is a debug one, and use some simple/
rough heuristic to guess such scenarios.
Note: this intentionally avoids looking for /boot/config-<version> as
the latter file is not always available in our reference CI
environments.
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Co-developed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions