diff options
author | Jakub Kicinski <kuba@kernel.org> | 2024-05-09 17:57:05 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-05-10 18:22:10 -0700 |
commit | b9d5f5711dd8ea2297b952c6a35e6e918cf57948 (patch) | |
tree | e3f39c4ed0f51520b63e75c808a093fd33f5d123 /drivers/net/ethernet/marvell/octeontx2/nic | |
parent | 2d3b8dfd82d76b1295167c6453d683ab99e50794 (diff) |
selftests: net: increase the delay for relative cmsg_time.sh test
Slow machines can delay scheduling of the packets for milliseconds.
Increase the delay to 8ms if KSFT_MACHINE_SLOW. Try to limit the
variability by moving setsockopts earlier (before we read time).
This fixes the "TXTIME rel" failures on debug kernels, like:
Case ICMPv4 - TXTIME rel returned '', expected 'OK'
Reviewed-by: Willem de Bruijn <willemb@google.com>
Link: https://lore.kernel.org/r/20240510005705.43069-2-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/marvell/octeontx2/nic')
0 files changed, 0 insertions, 0 deletions