]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: hisilicon - QM memory management optimization
authorWeili Qian <qianweili@huawei.com>
Sat, 9 May 2020 09:44:02 +0000 (17:44 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 May 2020 06:15:03 +0000 (16:15 +1000)
commit095c7085678a60c2ce38897f839a15dd3aeb145b
treeb2289a5668f2577275afaf4f74bff42c4831912c
parent1357430491f62127c2b7912d864de45fb5a4a2c3
crypto: hisilicon - QM memory management optimization

Put all the code for the memory allocation into the QM initialization
process. Before, The qp memory was allocated when the qp was created,
and released when the qp was released, It is now changed to allocate
all the qp memory once.

Signed-off-by: Weili Qian <qianweili@huawei.com>
Signed-off-by: Shukun Tan <tanshukun1@huawei.com>
Reviewed-by: Zhou Wang <wangzhou1@hisilicon.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/qm.c
drivers/crypto/hisilicon/qm.h