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.srika...@cavium.com> > Reviewed-by: Gadam Sreerama <sga...@cavium.com> > Tested-by: Jha, Chandan <chandan....@cavium.com>
Patch applied. Thanks. -- Email: Herbert Xu <herb...@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt