crypto: hisilicon - add SRIOV support for HPRE
authorZaibo Xu <xuzaibo@huawei.com>
Mon, 30 Sep 2019 09:20:06 +0000 (17:20 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 Oct 2019 12:36:32 +0000 (23:36 +1100)
commit5ec302a364bfd95be29a9784b2fabd8e2ddf0476
tree2bc29ef98ec571714ac753c680eeeb607d8c93ac
parentc8b4b477079d1995cc0a1c10d5cdfd02be938cdf
crypto: hisilicon - add SRIOV support for HPRE

HiSilicon HPRE engine supports PCI SRIOV. This patch enable
this feature. User can enable VFs and pass through them to VM,
same HPRE driver can work in VM to provide RSA and DH algorithms
by crypto akcipher and kpp interfaces.

Signed-off-by: Zaibo Xu <xuzaibo@huawei.com>
Signed-off-by: Hui tang <tanghui20@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/hpre/hpre.h
drivers/crypto/hisilicon/hpre/hpre_main.c