Commit dc728f77 authored by Kalderon, Michal's avatar Kalderon, Michal Committed by Doug Ledford

RDMA/qedr: lower print level of flushed CQEs

There are races where can still get flush on CQEs before the QP enters
error state. This is not an error and should be treated as
debug information.
Signed-off-by: default avatarMichal Kalderon <Michal.Kalderon@cavium.com>
Signed-off-by: default avatarAriel Elior <Ariel.Elior@cavium.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 3624a8f0
...@@ -3470,9 +3470,9 @@ static int qedr_poll_cq_req(struct qedr_dev *dev, ...@@ -3470,9 +3470,9 @@ static int qedr_poll_cq_req(struct qedr_dev *dev,
break; break;
case RDMA_CQE_REQ_STS_WORK_REQUEST_FLUSHED_ERR: case RDMA_CQE_REQ_STS_WORK_REQUEST_FLUSHED_ERR:
if (qp->state != QED_ROCE_QP_STATE_ERR) if (qp->state != QED_ROCE_QP_STATE_ERR)
DP_ERR(dev, DP_DEBUG(dev, QEDR_MSG_CQ,
"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, 1); IB_WC_WR_FLUSH_ERR, 1);
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment