net: hns3: change the range of vf id set by ip link set
driver inclusion category: bugfix bugzilla: NA CVE: NA Currently, the vf id range set by ip link set is the maximum number of supportable vf. This patch changes the range to the number of enabled vf, which makes it more reasonable. This patch also modifies the start vf id from 1 to 0. Feature or Bugfix:Bugfix Signed-off-by: NYufeng Mo <moyufeng@huawei.com> Reviewed-by: Nlinyunsheng <linyunsheng@huawei.com> Reviewed-by: NYunsheng Lin <linyunsheng@huawei.com> Reviewed-by: NYang Yingliang <yangyingliang@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录