Content-Type: multipart/mixed; boundary="===============1836907123851428243==" MIME-Version: 1.0 From: ramesh.thomas at intel.com Subject: [Accel-config] [PATCH v3 14/14] accel-config: Remove unloading of driver at end Date: Sat, 05 Dec 2020 15:20:26 -0500 Message-ID: <20201205202025.315186-15-ramesh.thomas@intel.com> In-Reply-To: 20201205202025.315186-1-ramesh.thomas@intel.com To: accel-config@lists.01.org List-ID: --===============1836907123851428243== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Ramesh Thomas New idxd driver in kernel ver 5.10 cannot be unloaded without unloading idxd_mdev driver. idxd_mdev drivers gets loaded and need not be unloaded after the test. Remove unloading and reloding of idxd to avoid error message during idxd driver unload failure. Signed-off-by: Ramesh Thomas --- test/libaccfg.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/libaccfg.c b/test/libaccfg.c index 94d6156..f6fd55e 100644 --- a/test/libaccfg.c +++ b/test/libaccfg.c @@ -1126,8 +1126,6 @@ int test_libaccfg(int loglevel, struct accfg_test *te= st, else test_cleanup(ctx); = - kmod_module_remove_module(mod, 0); - kmod_module_probe_insert_module(mod, 0, NULL, NULL, NULL, NULL); kmod_unref(kmod_ctx); = return result; -- = 2.26.2 --===============1836907123851428243==--