summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/dnet.h
diff options
context:
space:
mode:
authorPeng Li2018-05-15 20:20:13 +0200
committerDavid S. Miller2018-05-16 17:33:08 +0200
commitfa8d82e853e84de998e91e95d7a09aa04a7f79ee (patch)
tree8e7b7d1ac27e187a747b018cd96a3c141a3b08a5 /drivers/net/ethernet/dnet.h
parentnet: hns3: Fix for fiber link up problem (diff)
downloadkernel-qcow2-linux-fa8d82e853e84de998e91e95d7a09aa04a7f79ee.tar.gz
kernel-qcow2-linux-fa8d82e853e84de998e91e95d7a09aa04a7f79ee.tar.xz
kernel-qcow2-linux-fa8d82e853e84de998e91e95d7a09aa04a7f79ee.zip
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: Peng Li <lipeng321@huawei.com> Suggested-by: Zhou Wang <wangzhou1@hisilicon.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/dnet.h')
0 files changed, 0 insertions, 0 deletions