]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2988027dcd676ea85da18716968ec85cc604f4c5
tree1bfe0ac3e98c1a2572cd6c5818e6c6343bb0bc9d
parent1faa1ce0f1d9395de02a6c5445001088eee8b3ef
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: fda237467f7b("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