mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
RDMA/qedr: Don't spam dmesg if QP is in error state
[ Upstream commit c78c314961 ]
It is normal to flush CQEs if the QP is in error state. Hence there's no
use in printing a message per CQE to dmesg.
Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com>
Signed-off-by: Michal Kalderon <Michal.Kalderon@cavium.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
13a87589af
commit
c5ea7aa57e
@@ -3238,9 +3238,10 @@ static int qedr_poll_cq_req(struct qedr_dev *dev,
|
||||
IB_WC_SUCCESS, 0);
|
||||
break;
|
||||
case RDMA_CQE_REQ_STS_WORK_REQUEST_FLUSHED_ERR:
|
||||
DP_ERR(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);
|
||||
if (qp->state != QED_ROCE_QP_STATE_ERR)
|
||||
DP_ERR(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);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user