]> 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)
commit85d238ade492a64516b7346e3684c1bf90724dd2
tree2bc29ef98ec571714ac753c680eeeb607d8c93ac
parent07a1a7d3c063f33cd01fbeaef811c429bc9e6d13
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