RDMA/ocrdma: Fixed RQ error CQE polling
Fix RQ/SRQ error CQE polling. Return error CQE to consumer for error case which was not returned previously. Signed-off-by: Parav Pandit <parav.pandit@emulex.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
This commit is contained in:
committed by
Roland Dreier
parent
634c5796a5
commit
a3698a9b91
@@ -2301,8 +2301,10 @@ static bool ocrdma_poll_err_rcqe(struct ocrdma_qp *qp, struct ocrdma_cqe *cqe,
|
|||||||
*stop = true;
|
*stop = true;
|
||||||
expand = false;
|
expand = false;
|
||||||
}
|
}
|
||||||
} else
|
} else {
|
||||||
|
*polled = true;
|
||||||
expand = ocrdma_update_err_rcqe(ibwc, cqe, qp, status);
|
expand = ocrdma_update_err_rcqe(ibwc, cqe, qp, status);
|
||||||
|
}
|
||||||
return expand;
|
return expand;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user