crypto: hisilicon/zip - add new algorithms for uacce device
Enable deflate/lz77_zstd algorithm for uacce device on Kunpeng930. Signed-off-by: Yang Shen <shenyang39@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
696645d25b
commit
223a41f549
@ -830,7 +830,10 @@ static int hisi_zip_qm_init(struct hisi_qm *qm, struct pci_dev *pdev)
|
||||
|
||||
qm->pdev = pdev;
|
||||
qm->ver = pdev->revision;
|
||||
qm->algs = "zlib\ngzip";
|
||||
if (pdev->revision >= QM_HW_V3)
|
||||
qm->algs = "zlib\ngzip\ndeflate\nlz77_zstd";
|
||||
else
|
||||
qm->algs = "zlib\ngzip";
|
||||
qm->mode = uacce_mode;
|
||||
qm->sqe_size = HZIP_SQE_SIZE;
|
||||
qm->dev_name = hisi_zip_name;
|
||||
|
Loading…
Reference in New Issue
Block a user