Skip to contentSkip to conversation

selftests: drv-net: so_txtime: relax variance bounds

PATCH Applied Willem de Bruijn 2 participants 2 messages Jun 21 – Jun 23

Subsystems (4)
lore
Share & tools
lore

Willem de Bruijn

author maintainer
#0 lore raw

PATCH 1/1 selftests: drv-net: so_txtime: relax variance bounds

From: Willem de Bruijn <[email protected]>

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")
---
 tools/testing/selftests/drivers/net/so_txtime.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/drivers/net/so_txtime.c +1 -1
index 75f3beef13d9..55a386f3d1b9 100644
@@ -37,7 +37,7 @@
 
 static int	cfg_clockid	= CLOCK_TAI;
 static uint16_t	cfg_port	= 8000;
-static int	cfg_variance_us	= 4000;
+static int	cfg_variance_us	= 8000;
 static bool	cfg_machine_slow;
 static uint64_t	cfg_start_time_ns;
 static int	cfg_mark;
Signature · 1 line
2.55.0.rc0.799.gd6f94ed593-goog
#1 lore raw
This patch was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <[email protected]>:

Quoted 8 lines · On Sun, 21 Jun 2026 16:01:18 -0400 you wrote:

From: Willem de Bruijn <[email protected]>

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.

[...]

Here is the summary with links:
- [net] selftests: drv-net: so_txtime: relax variance bounds

    https://git.kernel.org/netdev/net/c/e38fec239d92

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html