Commit b323acf4 authored by Yu'an Wang's avatar Yu'an Wang Committed by Yang Yingliang
Browse files

qm: reinforce reset failure scene



driver inclusion
category: bugfix
bugzilla: NA
CVE: NA

In this patch, we try to reinforce reset process logic in failure
scene. When reset failure occurs, we should set hw_err flag, clear
reset flag and isolate the device directly, which can notify user
process to stop sending and recycle the failed tasks. Because the
user process recycles tasks depending on the flag bit of cqe, we
should not clear it.

Signed-off-by: default avatarYu'an Wang <wangyuan46@huawei.com>
Reviewed-by: default avatarCheng Hu <hucheng.hu@huawei.com>
Reviewed-by: default avatarGuangwei Zhou <zhouguangwei5@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 693345c6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment