net: hns3: fix some reset handshake issue
driver inclusion
category: bugfix
bugzilla: NA
CVE: NA
Currently, the driver will clear the handshake status when
re-intializing the CMDQ, and does not recover this status when
reset fail. This will cause the hardware cannot get the handshake
and do nothing anymore.
So this patch delays clearing handshake status just before UP,
and recovers this status when reset fail.
Fixes: ada13ee3db7b ("net: hns3: add handshake with hardware while doing reset")
Feature or Bugfix:Bugfix
Signed-off-by: NHuazhong Tan <tanhuazhong@huawei.com>
Reviewed-by: Nlipeng <lipeng321@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
想要评论请 注册 或 登录