From: Amrani, Ram Date: Thu, 22 Dec 2016 12:40:40 +0000 (+0200) Subject: qedr: Always notify the verb consumer of flushed CQEs X-Git-Tag: v4.14-rc1~1791^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=74c3875c3d9aad356ae27fc4f4176d4dc89c457b;p=platform%2Fkernel%2Flinux-rpi.git qedr: Always notify the verb consumer of flushed CQEs Signed-off-by: Ram Amrani Reviewed-by: Michal Kalderon Signed-off-by: Doug Ledford --- diff --git a/drivers/infiniband/hw/qedr/verbs.c b/drivers/infiniband/hw/qedr/verbs.c index 4017315..57c8de2 100644 --- a/drivers/infiniband/hw/qedr/verbs.c +++ b/drivers/infiniband/hw/qedr/verbs.c @@ -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", cq->icid, qp->icid); 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; default: /* process all WQE before the cosumer */