lkml.org 
[lkml]   [2018]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@cavium.com>
> Reviewed-by: Gadam Sreerama <sgadam@cavium.com>
> Tested-by: Jha, Chandan <Chandan.Jha@cavium.com>

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

\
 
 \ /
  Last update: 2018-08-25 15:29    [W:0.037 / U:0.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site