OSDN Git Service

crypto: hisilicon - update mininum queue
authorLongfang Liu <liulongfang@huawei.com>
Thu, 10 Sep 2020 11:56:39 +0000 (19:56 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 18 Sep 2020 07:20:11 +0000 (17:20 +1000)
commitc4f8f62fe13ae397fb7339d31eaee5fbe81f4560
treed41fdcf37401c9bbab87a0b8e7b2535867310869
parent37b15fa97e12796854ed41d3a6d7e8f54e27ef1f
crypto: hisilicon - update mininum queue

At present, as HPRE/SEC/ZIP modules' parameter 'pf_q_num' is 1,
kernel CRYPTO test will fail on the algorithms from the modules,
since 'QP' hardware resources are not enough for CRYPTO TFM.
To fix this, the minimum value of 'pf_q_num' should be 2.

Signed-off-by: Longfang Liu <liulongfang@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/qm.h