Loading
net: hns3: correct the logic of hclge_sync_vf_qb_mode()
driver inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I9A3QT CVE: NA ---------------------------------------------------------------------- Now, hns3 driver set request_enable to qb_en whether hclge_set_fd_qb() returns failure, it's incorrect. We only set request_enable to qb_en when hclge_set_fd_qb() returns 0. so, change it. Fixes: b7e2927acb2a ("net: hns3: add queue bonding mode support for VF") Signed-off-by:Hao Chen <chenhao418@huawei.com> Signed-off-by:
Jiantao Xiao <xiaojiantao1@h-partners.com>