Skip to content
Commit 709eb41a authored by Lipeng's avatar Lipeng Committed by David S. Miller
Browse files

net: hns3: get vf count by pci_sriov_get_totalvfs



This patch gets vf count by standard function pci_sriov_get_totalvfs,
instead of info from NIC HW.

Signed-off-by: default avatarLipeng <lipeng321@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7410343e
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