Skip to content
Commit fa8d82e8 authored by Peng Li's avatar Peng Li Committed by David S. Miller
Browse files

net: hns3: Add support of .sriov_configure in HNS3 driver



As HNS3 driver will enable SRIOV default and enable all VFs the
HW support, if PF and VF driver compiled to kernel, VF driver
will work on host default, it is not right.

This patch adds support for hns3_driver.sriov_configure to support
user configs the VF_num, and do not enable sriov default.

Signed-off-by: default avatarPeng Li <lipeng321@huawei.com>
Suggested-by: default avatarZhou Wang <wangzhou1@hisilicon.com>
Signed-off-by: default avatarSalil Mehta <salil.mehta@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent be8d8cdb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment