[Accel-config] Re: [PATCH v1 1/1] accel-config/test: fix iax_crypto load/unload issue

Dave Jiang <dave.jiang at intel.com> Fri, 03 Dec 2021 09:02:32 -0700
Newsgroups dev.linux.lists.accel-config
Message-ID <[email protected]>
On 12/3/2021 12:39 AM, Tony Zhu wrote:
> When iax crypto test is configured, have to remove iax_crypto module
> before remove idxd.
>
> Signed-off-by: Tony Zhu <tony.zhu(a)intel.com>

Reviewed-by: Dave Jiang <dave.jiang(a)intel.com>


> ---
>   test/common | 3 +++
>   1 file changed, 3 insertions(+)
>
> diff --git a/test/common b/test/common
> index 04a0e11..3f5a88a 100644
> --- a/test/common
> +++ b/test/common
> @@ -105,6 +105,9 @@ _cleanup()
>   	lsmod | grep -q "idxd_uacce" && {
>   		rmmod idxd_uacce
>   	}
> +	lsmod | grep -q "iax_crypto" && {
> +		rmmod iax_crypto
> +	}
>   	lsmod | grep -q "idxd" && {
>   		rmmod idxd
>   	}