RDMA/hns: Adjust flush cqe process for lock and no lock scenarios
driver inclusion category: bugfix bugzilla: NA CVE: NA For lock case, we need to hold the lock while reading sq and rq head. For no lock case, we need to stop flush cqe process and left it to upper application to do it. Moreover, stop to update doorbell to hardware when qp state is error. Feature or Bugfix:Bugfix Signed-off-by: NYixian Liu <liuyixian@huawei.com> Reviewed-by: Nwangxi <wangxi11@huawei.com> Reviewed-by: Noulijun <oulijun@huawei.com> Reviewed-by: NYang Yingliang <yangyingliang@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录