]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: hisilicon - merge sgl support to hisi_qm module
authorZhou Wang <wangzhou1@hisilicon.com>
Mon, 30 Sep 2019 07:08:52 +0000 (15:08 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 Oct 2019 12:36:31 +0000 (23:36 +1100)
commit0919a0b005bcfc8178a7d39430c25a9069115ae3
tree96142be432e73a7039725a12d4fba38ad0e87b8c
parent74f6bc58df8d2eca7bcebec80a879dbd47761f88
crypto: hisilicon - merge sgl support to hisi_qm module

As HW SGL can be seen as a data format of QM's sqe, we merge sgl code into
qm module and rename it as hisi_qm, which reduces the number of module and
make the name less generic.

This patch also modify the interface of SGL:
 - Create/free hisi_acc_sgl_pool inside.
 - Let user to pass the SGE number in one SGL when creating sgl pool, which
   is better than a unified module parameter for sgl module before.
 - Modify zip driver according to sgl interface change.

Signed-off-by: Zhou Wang <wangzhou1@hisilicon.com>
Signed-off-by: Shukun Tan <tanshukun1@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
MAINTAINERS
drivers/crypto/hisilicon/Kconfig
drivers/crypto/hisilicon/Makefile
drivers/crypto/hisilicon/qm.h
drivers/crypto/hisilicon/sgl.c
drivers/crypto/hisilicon/sgl.h [deleted file]
drivers/crypto/hisilicon/zip/zip.h
drivers/crypto/hisilicon/zip/zip_crypto.c