提交 7386b19d 编写于 作者: Y Yang Shen 提交者: Zheng Zengkai

crypto: hisilicon/zip - add new algorithms for uacce device

driver inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I4MG5G

----------------------------------------------------------------------

Enable deflate/lz77_zstd algorithm for uacce device on Kunpeng930.
Signed-off-by: NYang Shen <shenyang39@huawei.com>
Acked-by: NXie XiuQi <xiexiuqi@huawei.com>
Reviewed-by: NHao Fang <fanghao11@huawei.com>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 ba785600
......@@ -829,6 +829,9 @@ static int hisi_zip_qm_init(struct hisi_qm *qm, struct pci_dev *pdev)
qm->pdev = pdev;
qm->ver = pdev->revision;
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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册