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-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=74c3875c3d9aad356ae27fc4f4176d4dc89c457b;p=linux-beck.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 4017315ae734..57c8de208077 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 */