Thread (4 messages) flat view 4 messages, 2 authors, 22h ago

Re: [PATCH net-next] selftests: drv-net: bump the timeout to 15min

From: Nimrod Oren <hidden>
Date: 2026-08-13 08:05:37
Also in: linux-kselftest

On 12/08/2026 20:13, Jakub Kicinski wrote:
The GRO test takes extra time on NICs which support HW-GRO and LRO
(as it also runs the test cases against the NIC implementation).
gro.py takes 6min on bnxt and 10min on mlx5 with debug kernel builds.
10m works for xdp.py but it seems that it isn't enough for gro.py :(

    # ok 265 gro.test.lro_ipip_ip_ecn
    not ok 1 selftests: drivers/net: gro.py # exit=130
    # Totals: pass:0 fail:1 xfail:0 xpass:0 skip:0 error:0

    NIPA RUNNER TIMEOUT 600 sec (graceful stop)

https://netdev.bots.linux.dev/logs/hwksft/CX7-dbg/results/776322/test-outputs/0-gro-py/stdout
quoted hunk ↗ jump to hunk
The delta between drivers is to some extent due to their defaults
(mlx5 sillily defaults to queue-per-thread, while bnxt follows
netif_get_num_default_rss_queues()).

At the end of the day the defaults don't matter much - on larger
machines all drivers will create more queues. We should bump
the timeout. Let's give ourselves a 50% margin over mlx5's needs
and set the timeout to 15min.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
---
CC: noren@nvidia.com
CC: shuah@kernel.org
CC: linux-kselftest@vger.kernel.org
---
 tools/testing/selftests/drivers/net/settings | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/drivers/net/settings b/tools/testing/selftests/drivers/net/settings
index eef533824a3c..e2206265f67c 100644
--- a/tools/testing/selftests/drivers/net/settings
+++ b/tools/testing/selftests/drivers/net/settings
@@ -1 +1 @@
-timeout=360
+timeout=900
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help