]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: hisilicon - add SRIOV support for ZIP
authorZhou Wang <wangzhou1@hisilicon.com>
Fri, 2 Aug 2019 07:57:53 +0000 (15:57 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 9 Aug 2019 05:11:54 +0000 (15:11 +1000)
commit114100c36eb57c858b9c8e5707e9045a52b728b9
treec4469306b81902094e4ba73ac396c2d7ca7a84b8
parente8aa8f6cd449d2a902d527f9eae75317ea4d64eb
crypto: hisilicon - add SRIOV support for ZIP

HiSilicon ZIP engine supports PCI SRIOV. This patch enable this feature.
User can enable VFs and pass through them to VM, same ZIP driver can work
in VM to provide ZLIB and GZIP algorithm by crypto acomp interface.

Signed-off-by: Zhou Wang <wangzhou1@hisilicon.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/qm.c
drivers/crypto/hisilicon/qm.h
drivers/crypto/hisilicon/zip/zip_main.c