]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Merge branch 'selftests-drv-net-improve-the-queue-test-for-xsk'
authorJakub Kicinski <kuba@kernel.org>
Fri, 21 Feb 2025 01:57:11 +0000 (17:57 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 21 Feb 2025 01:58:25 +0000 (17:58 -0800)
commit56b06a71fcdb6b39b4c0f38a79dfe0f24453f66a
treee7e922a92856539f600a7ccf5c4280260cc4bc47
parentca57d1c56f4015d83fe7840b41d74783ee900b28
parent932a9249f71f88471045edd0c908f0683b10e88c
Merge branch 'selftests-drv-net-improve-the-queue-test-for-xsk'

Jakub Kicinski says:

====================
selftests: drv-net: improve the queue test for XSK

We see some flakes in the the XSK test:

   Exception| Traceback (most recent call last):
   Exception|   File "/home/virtme/testing-18/tools/testing/selftests/net/lib/py/ksft.py", line 218, in ksft_run
   Exception|     case(*args)
   Exception|   File "/home/virtme/testing-18/tools/testing/selftests/drivers/net/./queues.py", line 53, in check_xdp
   Exception|     ksft_eq(q['xsk'], {})
   Exception| KeyError: 'xsk'

I think it's because the method of running the helper in the background
is racy. Add more solid infra for waiting for a background helper to be
initialized.

v1: https://lore.kernel.org/20250218195048.74692-1-kuba@kernel.org
====================

Link: https://patch.msgid.link/20250219234956.520599-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>