RDMA/ocrdma: Fix signaled event for SRQ_LIMIT_REACHED
authorParav Pandit <parav.pandit@emulex.com>
Wed, 23 May 2012 15:41:17 +0000 (21:11 +0530)
committerRoland Dreier <roland@purestorage.com>
Tue, 29 May 2012 19:52:00 +0000 (12:52 -0700)
Signed-off-by: Parav Pandit <parav.pandit@emulex.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/ocrdma/ocrdma_hw.c

index f26314fd5f6ec045a967d27f4667164e6a7e8355..9343a15229774652c34276e160795487b5075e43 100644 (file)
@@ -732,7 +732,7 @@ static void ocrdma_dispatch_ibevent(struct ocrdma_dev *dev,
                break;
        case OCRDMA_SRQ_LIMIT_EVENT:
                ib_evt.element.srq = &qp->srq->ibsrq;
-               ib_evt.event = IB_EVENT_QP_LAST_WQE_REACHED;
+               ib_evt.event = IB_EVENT_SRQ_LIMIT_REACHED;
                srq_event = 1;
                qp_event = 0;
                break;