mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-18 06:33:43 -04:00
crypto: hisilicon - add SRIOV for HiSilicon SEC
HiSilicon SEC engine supports PCI SRIOV. This patch enable this feature. User can enable VFs and pass through them to VM, same SEC driver can work in VM to provide skcipher algorithms. Signed-off-by: Zaibo Xu <xuzaibo@huawei.com> Signed-off-by: Longfang Liu <liulongfang@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
@@ -123,6 +123,7 @@ struct sec_dev {
|
||||
struct hisi_qm qm;
|
||||
struct list_head list;
|
||||
u32 ctx_q_num;
|
||||
u32 num_vfs;
|
||||
unsigned long status;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user