Re: [PATCH v3 1/2] crypto: engine - support for parallel requests

From: Herbert Xu
Date: Thu Feb 13 2020 - 22:39:55 EST


On Fri, Feb 14, 2020 at 01:25:50AM +0000, Iuliana Prodan wrote:
>
> Given your suggestion, Iâm thinking of implementing do_one_request, in
> the driver, to return -IN_PROGRESS if the hw can enqueue more and -EBUSY
> if otherwise (solution 1). But, this implies to update all the drivers
> that use crypto-engine (something I wouldnât mind doing, but I donât
> have the hw to test it).

We could always maintain a legacy interface for existing drivers
until they are all converted.

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