Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a3698a9b authored by Parav Pandit's avatar Parav Pandit Committed by Roland Dreier
Browse files

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: default avatarParav Pandit <parav.pandit@emulex.com>
Signed-off-by: default avatarRoland Dreier <roland@purestorage.com>
parent 634c5796
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2301,8 +2301,10 @@ static bool ocrdma_poll_err_rcqe(struct ocrdma_qp *qp, struct ocrdma_cqe *cqe,
			*stop = true;
			expand = false;
		}
	} else
	} else {
		*polled = true;
		expand = ocrdma_update_err_rcqe(ibwc, cqe, qp, status);
	}
	return expand;
}