Re: [PATCH 1/1] crypto: cavium/nitrox - fix for command corruption in queue full case with backlog submissions.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> Reviewed-by: Gadam Sreerama <sgadam@xxxxxxxxxx>
> Tested-by: Jha, Chandan <Chandan.Jha@xxxxxxxxxx>

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



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux