qedr: Always notify the verb consumer of flushed CQEs
Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com> Reviewed-by: Michal Kalderon <Michal.Kalderon@cavium.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
parent
27035a1b37
commit
74c3875c3d
|
@ -3238,7 +3238,7 @@ static int qedr_poll_cq_req(struct qedr_dev *dev,
|
||||||
"Error: POLL CQ with RDMA_CQE_REQ_STS_WORK_REQUEST_FLUSHED_ERR. CQ icid=0x%x, QP icid=0x%x\n",
|
"Error: POLL CQ with RDMA_CQE_REQ_STS_WORK_REQUEST_FLUSHED_ERR. CQ icid=0x%x, QP icid=0x%x\n",
|
||||||
cq->icid, qp->icid);
|
cq->icid, qp->icid);
|
||||||
cnt = process_req(dev, qp, cq, num_entries, wc, req->sq_cons,
|
cnt = process_req(dev, qp, cq, num_entries, wc, req->sq_cons,
|
||||||
IB_WC_WR_FLUSH_ERR, 0);
|
IB_WC_WR_FLUSH_ERR, 1);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
/* process all WQE before the cosumer */
|
/* process all WQE before the cosumer */
|
||||||
|
|
Loading…
Reference in New Issue