]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests: drv-net: so_txtime: relax variance bounds
authorWillem de Bruijn <willemb@google.com>
Sun, 21 Jun 2026 20:01:18 +0000 (16:01 -0400)
committerJakub Kicinski <kuba@kernel.org>
Tue, 23 Jun 2026 01:42:35 +0000 (18:42 -0700)
commite38fec239d923de5bfb65f7fce15ca52c5a3aa7f
treea87868f658ce086cbd4cc8681ed87c65802bec82
parent245043dfc2101e7dc6268bf123b75305a91e4e00
selftests: drv-net: so_txtime: relax variance bounds

The net-next-hw spinners on netdev.bots.linux.dev observe failing
so-txtime-py tests. A review of stdout shows most failures to be
due to exceeding the 4ms grace period. All I saw were within 8ms.
So increase to that.

Double the bounds from 4 to 8ms. This is still is small enough to
differentiate the delays programmed by the test, 10 and 20ms.

Fixes: 5c6baef3885c ("selftests: drv-net: convert so_txtime to drv-net")
Reported-by: Jakub Kicinski <kuba@kernel.org>
Closes: https://lore.kernel.org/netdev/20260610170651.1b644001@kernel.org/
Signed-off-by: Willem de Bruijn <willemb@google.com>
Link: https://patch.msgid.link/20260621200137.1564776-1-willemdebruijn.kernel@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/so_txtime.c