Commit 564846ff authored by Hao Chen's avatar Hao Chen Committed by Jiantao Xiao
Browse files

net: hns3: correct the logic of hclge_sync_vf_qb_mode()

driver inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I7YRUW


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.

Signed-off-by: default avatarHao Chen <chenhao418@huawei.com>
parent 66ef878c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment