summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/hisilicon/zip/zip.h
diff options
context:
space:
mode:
authorBarry Song <song.bao.hua@hisilicon.com>2020-07-05 11:18:59 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2020-07-09 10:25:23 +0200
commit813ec3f1fe517acd533d44536195910edaaeebef (patch)
treeaa04e1418105db04f1d9517999aefa78f837fd74 /drivers/crypto/hisilicon/zip/zip.h
parentcrypto: api - permit users to specify numa node of acomp hardware (diff)
downloadlinux-813ec3f1fe517acd533d44536195910edaaeebef.tar.xz
linux-813ec3f1fe517acd533d44536195910edaaeebef.zip
crypto: hisilicon/zip - permit users to specify NUMA node
If users don't specify NUMA node, the driver will use the ZIP module near the CPU allocating acomp. Otherwise, it uses the ZIP module according to the requirement of users. Cc: Zhou Wang <wangzhou1@hisilicon.com> Signed-off-by: Barry Song <song.bao.hua@hisilicon.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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/hisilicon/zip/zip.h b/drivers/crypto/hisilicon/zip/zip.h
index f3ed4c0e5493..4484be13812b 100644
--- a/drivers/crypto/hisilicon/zip/zip.h
+++ b/drivers/crypto/hisilicon/zip/zip.h
@@ -76,7 +76,7 @@ struct hisi_zip_sqe {
u32 rsvd1[4];
};
-int zip_create_qps(struct hisi_qp **qps, int ctx_num);
+int zip_create_qps(struct hisi_qp **qps, int ctx_num, int node);
int hisi_zip_register_to_crypto(void);
void hisi_zip_unregister_from_crypto(void);
#endif