]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: ncdevmem: remove sleep on rx
authorStanislav Fomichev <sdf@fomichev.me>
Fri, 12 Sep 2025 17:06:11 +0000 (10:06 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 16 Sep 2025 01:14:48 +0000 (18:14 -0700)
commit17a0374be98ea2469928a9c58f1e7b09c1a6e86c
treea6fb27c0cd463ec70a1908b8716845fa5f5fe857
parentba5c906d5177609bab766c7b0beca88465a2c268
selftests: ncdevmem: remove sleep on rx

RX devmem sometimes fails on NIPA:

https://netdev-3.bots.linux.dev/vmksft-fbnic-qemu-dbg/results/294402/7-devmem-py/

Both RSS and flow steering are properly installed, but the wait_port_listen
fails. Try to remove sleep(1) to see if the cause of the failure is
spending too much time during RX setup. I don't see a good reason to
have sleep in the first place. If there needs to be a delay between
installing the rules and receiving the traffic, let's add it to the
callers (devmem.py) instead.

Signed-off-by: Stanislav Fomichev <sdf@fomichev.me>
Reviewed-by: Mina Almasry <almasrymina@google.com>
Link: https://patch.msgid.link/20250912170611.676110-1-sdf@fomichev.me
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/hw/ncdevmem.c