crypto: hisilicon/sec2 - Add workqueue for SEC driver.
authorYe Kai <yekai13@huawei.com>
Thu, 5 Mar 2020 02:06:22 +0000 (10:06 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 12 Mar 2020 12:00:14 +0000 (23:00 +1100)
commita13c97118749954a9f47a3b5fc47457baf664f2d
tree746cae406ac8d27293a30bb28f33975ad732b5ac
parent57ca81245f4db4a0222d545f8f5d4709544c26cf
crypto: hisilicon/sec2 - Add workqueue for SEC driver.

Allocate one workqueue for each QM instead of one for all QMs,
we found the throughput of SEC engine can be increased to
the hardware limit throughput during testing sec2 performance.
so we added this scheme.

Signed-off-by: Ye Kai <yekai13@huawei.com>
Signed-off-by: Longfang Liu <liulongfang@huawei.com>
Signed-off-by: Zaibo Xu <xuzaibo@huawei.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/sec2/sec_main.c