Re: [PATCH v2 2/4] crypto: hisilicon: Add queue management driver for HiSilicon QM module

From: Herbert Xu
Date: Tue Feb 19 2019 - 23:10:19 EST


On Sat, Feb 02, 2019 at 10:25:43AM +0800, Zhou Wang wrote:
>
> In fact, I planned to register to acomp later.
>
> It also makes sense to use scomp if hardware engine is faster than CPU.
> So how about registering to scomp firstly, then we register this engine to
> acomp later?

Sorry, but the fact that you're doing a busy-wait for completion
means that scomp is not an appropriate choice.

Cheers,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt