selftests: drv-net: rss: Fix error calculation in test_hitless_key_update
Subsystems (3)
PATCH 1/1 selftests: drv-net: rss: Fix error calculation in test_hitless_key_update
This test verifies there are no errors when a devices RSS key is updated while traffic is flowing. The current check is a no-op since the last sample was subtracted from itself.
Fixes 933048fec4dd ("selftests: drv-net: rss_ctx: test flow rehashing without impacting traffic")
Signed-off-by Dimitri Daskalakis <[email protected]>
--- tools/testing/selftests/drivers/net/hw/rss_ctx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/drivers/net/hw/rss_ctx.py +1 -1
@@ -357,7 +357,7 @@ def test_hitless_key_update(cfg): tgen.wait_pkts_and_stop(5000) ksft_lt((t1 - t0).total_seconds(), 0.15) - ksft_eq(errors1 - errors1, 0) + ksft_eq(errors1 - errors0, 0) ksft_eq(carrier1 - carrier0, 0)
Signature · 1 line
2.47.3
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 8 lines · On Tue, 3 Mar 2026 12:22:58 -0800 you wrote:
This test verifies there are no errors when a devices RSS key is updated while traffic is flowing. The current check is a no-op since the last sample was subtracted from itself.
Fixes 933048fec4dd ("selftests: drv-net: rss_ctx: test flow rehashing without impacting traffic")Signed-off-by Dimitri Daskalakis <[email protected]>[...]
Here is the summary with links:
- [net-next] selftests: drv-net: rss: Fix error calculation in test_hitless_key_update
https://git.kernel.org/netdev/net-next/c/f85db97bc5d4
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html