mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-19 05:51:36 -04:00
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>
This commit is contained in:
committed by
Jakub Kicinski
parent
d824c64a93
commit
f85db97bc5
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user