Re: [PATCH v5 2/3] crypto: engine - support for parallel requests based on retry mechanism
From: Herbert Xu
Date: Fri Apr 24 2020 - 11:11:12 EST
On Fri, Apr 24, 2020 at 02:34:57PM +0000, Iuliana Prodan wrote:
>
> Do you refer to the error codes returned by do_one_request (which sends
> the req to hw for execution)?
>
> If this returns:
> 1. 0, success;
> 2. -ENOSPC, I'll requeue it regardless of MAY_BACKLOG;
> 3. any other error (-EIO, -EINVAL, -ENOMEM, etc), I'll requeue only
> MAY_BACKLOG requests.
Yes that sounds perfect.
Thanks,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt