commit | 71d1ca498735b33cae40e6e61e40d7e7abed5e6a | [log] [tgz] |
---|---|---|
author | Hui Tang <tanghui20@huawei.com> | Sat Aug 15 17:56:11 2020 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Aug 21 14:47:51 2020 +1000 |
tree | dd5cc95a53bfc4211b61a8b3bf007e6673c35d8e | |
parent | 7e655e196c2c2aa5df439d7489b5aeb70b9b25ca [diff] |
crypto: hisilicon/qm - fix judgement of queue is full The queue depth is 1024, so the condition for judging the queue full should be 1023, otherwise the hardware cannot judge whether the queue is empty or full. Fixes: 263c9959c937("crypto: hisilicon - add queue management driver...") Signed-off-by: Hui Tang <tanghui20@huawei.com> Signed-off-by: Yang Shen <shenyang39@huawei.com> Reviewed-by: Zhou Wang <wangzhou1@hisilicon.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>