[PATCH 1/3] accel-config/test: Disable all WQs and rmmod iaa_crypto

Rex Zhang <[email protected]> Tue, 20 Feb 2024 09:58:36 +0800
Newsgroups dev.linux.lists.accel-config
Message-ID <[email protected]>
Some default WQs are enabled by module iaa_crypto, it can block the
subsequential WQs enabling.
The solution is disabling all WQs and rmmod iaa_crypto at the beginning
of the script.

Signed-off-by: Rex Zhang <[email protected]>
---
 test/common | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/test/common b/test/common
index 8b8f40f..a5a53ec 100755
--- a/test/common
+++ b/test/common
@@ -182,6 +182,9 @@ _cleanup()
 	modprobe idxd
 	sleep 1
 	modprobe vfio_pci
+
+	disable_all
+	rmmod iaa_crypto
 }
 
 # json2var
-- 
2.25.1