net: hns3: modify the location of updating the hardware reset done counter
driver inclusion
category: bugfix
bugzilla: NA
CVE: NA
When calling hclge_reset_rebuild(), it means the hardware reset
has already been done, so this patch updates hw_reset_done_cnt
at the beginning of hclge_reset_rebuild().
Fixes: ab90cbea0164 ("net: hns3: split hclge_reset() into preparing and rebuilding part")
Signed-off-by:
Huazhong Tan <tanhuazhong@huawei.com>
Reviewed-by:
Yunsheng Lin <linyunsheng@huawei.com>
Reviewed-by:
Zhong Zhaohui <zhongzhaohui@huawei.com>
Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com>
Loading
Please sign in to comment