net: hns3: fix response value issue for mailbox message
driver inclusion category: bugfix bugzilla: NA CVE: NA Previously, sometimes VF may send configure messages to PF, and ask PF return response. There is an issue when PF building the response message, the error code is always converted to 1 when resp_status is negative. This patch fixes it. Feature or Bugfix:Bugfix Signed-off-by: Nshenjian (K) <shenjian15@huawei.com> Reviewed-by: Nlipeng <lipeng321@huawei.com> Reviewed-by: NXie XiuQi <xiexiuqi@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录