RDMA/bnxt_re: Fix to remove an unnecessary log
[ Upstream commit 43774bc156614346fe5dacabc8e8c229167f2536 ]
During destroy_qp, driver sets the qp handle in the existing CQEs
belonging to the QP being destroyed to NULL. As a result, a poll_cq after
destroy_qp can report unnecessary messages. Remove this noise from system
logs.
Fixes: 1ac5a40479
("RDMA/bnxt_re: Add bnxt_re RoCE driver")
Link: https://lore.kernel.org/r/1684478897-12247-6-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
ed039ad88a
commit
25bbd1c7be
@ -2606,11 +2606,8 @@ static int bnxt_qplib_cq_process_terminal(struct bnxt_qplib_cq *cq,
|
|||||||
|
|
||||||
qp = (struct bnxt_qplib_qp *)((unsigned long)
|
qp = (struct bnxt_qplib_qp *)((unsigned long)
|
||||||
le64_to_cpu(hwcqe->qp_handle));
|
le64_to_cpu(hwcqe->qp_handle));
|
||||||
if (!qp) {
|
if (!qp)
|
||||||
dev_err(&cq->hwq.pdev->dev,
|
|
||||||
"FP: CQ Process terminal qp is NULL\n");
|
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
|
||||||
|
|
||||||
/* Must block new posting of SQ and RQ */
|
/* Must block new posting of SQ and RQ */
|
||||||
qp->state = CMDQ_MODIFY_QP_NEW_STATE_ERR;
|
qp->state = CMDQ_MODIFY_QP_NEW_STATE_ERR;
|
||||||
|
Loading…
Reference in New Issue
Block a user