]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2c37a33ae45cd43c97ff59a32af54a7c8f6fc4d6
tree2bc29ef98ec571714ac753c680eeeb607d8c93ac
parent5c552758e614625096a18270568d34a2fd7dd8df
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