]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: hisilicon - update SEC driver module parameter
authorLongfang Liu <liulongfang@huawei.com>
Mon, 8 Jun 2020 14:01:11 +0000 (22:01 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 18 Jun 2020 07:26:42 +0000 (17:26 +1000)
commit29cacbec9ccaf17c1f4185aac9cb825d069fd2e6
tree770b5cf2277ea0fa76586040e4d324ef619779d2
parent9e15ca38a6d5ee1465d0ecaac01cfabacc3ba7da
crypto: hisilicon - update SEC driver module parameter

As stress-ng running SEC engine on the Ubuntu OS,
we found that SEC only supports two threads each with one TFM
based on the default module parameter 'ctx_q_num'.
If running more threads, stress-ng will fail since it cannot
get more TFMs.

In order to fix this, we adjusted the default values
of the module parameters to support more TFMs.

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