Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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.

Signed-off-by: Dimitri Daskalakis <dimitri.daskalakis1@gmail.com>
Link: https://patch.msgid.link/20260303202258.1595661-1-dimitri.daskalakis1@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Dimitri Daskalakis and committed by
Jakub Kicinski
f85db97b d824c64a

+1 -1
+1 -1
tools/testing/selftests/drivers/net/hw/rss_ctx.py
··· 357 357 tgen.wait_pkts_and_stop(5000) 358 358 359 359 ksft_lt((t1 - t0).total_seconds(), 0.15) 360 - ksft_eq(errors1 - errors1, 0) 360 + ksft_eq(errors1 - errors0, 0) 361 361 ksft_eq(carrier1 - carrier0, 0) 362 362 363 363