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

net: hns3: clean residual vf config after disable sriov

After disable sriov, VF still has some config and info need to be
cleaned, which configured by PF. This patch clean the HW config
and SW struct vport->vf_info.

Fixes: fa8d82e8

 ("net: hns3: Add support of .sriov_configure in HNS3 driver")
Signed-off-by: default avatarPeng <Li&lt;lipeng321@huawei.com>
Signed-off-by: default avatarGuangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a89cbb16
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