Commit 7825e182 authored by Huazhong Tan's avatar Huazhong Tan Committed by Yang Yingliang
Browse files

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: default avatarHuazhong Tan <tanhuazhong@huawei.com>
Reviewed-by: default avatarYunsheng Lin <linyunsheng@huawei.com>
Reviewed-by: default avatarZhong Zhaohui <zhongzhaohui@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent bf886b3c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment