crypto: hisilicon/qm - fix event queue depth to 2048
authorShukun Tan <tanshukun1@huawei.com>
Sat, 15 Aug 2020 09:56:12 +0000 (17:56 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 21 Aug 2020 04:47:51 +0000 (14:47 +1000)
commit9dca4435a1d281d74987cc7f4eeca005626222ce
tree1bfe0ac3e98c1a2572cd6c5818e6c6343bb0bc9d
parent71d1ca498735b33cae40e6e61e40d7e7abed5e6a
crypto: hisilicon/qm - fix event queue depth to 2048

Increasing depth of 'event queue' from 1024 to 2048, which equals to twice
depth of 'completion queue'. It will fix the easily happened 'event queue
overflow' as using 1024 queue depth for 'event queue'.

Fixes: 263c9959c937("crypto: hisilicon - add queue management driver...")
Signed-off-by: Shukun Tan <tanshukun1@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>
drivers/crypto/hisilicon/qm.c