[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180825132909.koxcal2ke2eggv5i@gondor.apana.org.au>
Date: Sat, 25 Aug 2018 21:29:09 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Srikanth Jampala <Jampala.Srikanth@...ium.com>
Cc: davem@...emloft.net, linux-crypto@...r.kernel.org,
linux-kernel@...r.kernel.org, sgadam@...ium.com
Subject: Re: [PATCH 1/1] crypto: cavium/nitrox - fix for command corruption
in queue full case with backlog submissions.
On Wed, Aug 22, 2018 at 12:40:52PM +0530, Srikanth Jampala wrote:
> Earlier used to post the current command without checking queue full
> after backlog submissions. So, post the current command only after
> confirming the space in queue after backlog submissions.
>
> Maintain host write index instead of reading device registers
> to get the next free slot to post the command.
>
> Return -ENOSPC in queue full case.
>
> Signed-off-by: Srikanth Jampala <Jampala.Srikanth@...ium.com>
> Reviewed-by: Gadam Sreerama <sgadam@...ium.com>
> Tested-by: Jha, Chandan <Chandan.Jha@...ium.com>
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists