OSDN Git Service

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)
commit48c1cd40fae31aa39e33930e7d28a0d96f01ea17
tree96142be432e73a7039725a12d4fba38ad0e87b8c
parentdaae28debcb03eee837fadfd20788107b325c5a2
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