summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/hisilicon/zip/zip.h
diff options
context:
space:
mode:
authorZhou Wang <wangzhou1@hisilicon.com>2019-09-30 15:08:52 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2019-10-10 23:36:31 +1100
commit48c1cd40fae31aa39e33930e7d28a0d96f01ea17 (patch)
tree96142be432e73a7039725a12d4fba38ad0e87b8c /drivers/crypto/hisilicon/zip/zip.h
parentdaae28debcb03eee837fadfd20788107b325c5a2 (diff)
downloadlinux-48c1cd40fae31aa39e33930e7d28a0d96f01ea17.tar.bz2
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>
Diffstat (limited to 'drivers/crypto/hisilicon/zip/zip.h')
-rw-r--r--drivers/crypto/hisilicon/zip/zip.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/crypto/hisilicon/zip/zip.h b/drivers/crypto/hisilicon/zip/zip.h
index ffb00d987d02..79fc4dd3fe00 100644
--- a/drivers/crypto/hisilicon/zip/zip.h
+++ b/drivers/crypto/hisilicon/zip/zip.h
@@ -8,7 +8,6 @@
#include <linux/list.h>
#include "../qm.h"
-#include "../sgl.h"
/* hisi_zip_sqe dw3 */
#define HZIP_BD_STATUS_M GENMASK(7, 0)