diff options
author | 2025-02-26 11:27:25 -0800 | |
---|---|---|
committer | 2025-02-27 18:38:23 -0800 | |
commit | 51bef03e1a71a27f2bc25c9739992d472830c83c (patch) | |
tree | 5380a6d09b5dab73f5733a26e71507102b80800e /drivers/net/wireless | |
parent | selftests/net: only print passing message in GRO tests when tests pass (diff) | |
download | wireguard-linux-51bef03e1a71a27f2bc25c9739992d472830c83c.tar.xz wireguard-linux-51bef03e1a71a27f2bc25c9739992d472830c83c.zip |
selftests/net: deflake GRO tests
GRO tests are timing dependent and can easily flake. This is partially
mitigated in gro.sh by giving each subtest 3 chances to pass. However,
this still flakes on some machines. Reduce the flakiness by:
- Bumping retries to 6.
- Setting napi_defer_hard_irqs to 1 to reduce the chance that GRO is
flushed prematurely. This also lets us reduce the gro_flush_timeout
from 1ms to 100us.
Tested: Ran `gro.sh -t large` 1000 times. There were no failures with
this change. Ran inside strace to increase flakiness.
Signed-off-by: Kevin Krakauer <krakauer@google.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Link: https://patch.msgid.link/20250226192725.621969-4-krakauer@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/wireless')
0 files changed, 0 insertions, 0 deletions