Lines Matching refs:ib_evt

680 	struct ib_event ib_evt;  in ocrdma_dispatch_ibevent()  local
715 memset(&ib_evt, 0, sizeof(ib_evt)); in ocrdma_dispatch_ibevent()
717 ib_evt.device = &dev->ibdev; in ocrdma_dispatch_ibevent()
721 ib_evt.element.cq = &cq->ibcq; in ocrdma_dispatch_ibevent()
722 ib_evt.event = IB_EVENT_CQ_ERR; in ocrdma_dispatch_ibevent()
727 ib_evt.element.cq = &cq->ibcq; in ocrdma_dispatch_ibevent()
728 ib_evt.event = IB_EVENT_CQ_ERR; in ocrdma_dispatch_ibevent()
733 ib_evt.element.qp = &qp->ibqp; in ocrdma_dispatch_ibevent()
734 ib_evt.event = IB_EVENT_QP_FATAL; in ocrdma_dispatch_ibevent()
738 ib_evt.element.qp = &qp->ibqp; in ocrdma_dispatch_ibevent()
739 ib_evt.event = IB_EVENT_QP_ACCESS_ERR; in ocrdma_dispatch_ibevent()
742 ib_evt.element.qp = &qp->ibqp; in ocrdma_dispatch_ibevent()
743 ib_evt.event = IB_EVENT_COMM_EST; in ocrdma_dispatch_ibevent()
746 ib_evt.element.qp = &qp->ibqp; in ocrdma_dispatch_ibevent()
747 ib_evt.event = IB_EVENT_SQ_DRAINED; in ocrdma_dispatch_ibevent()
750 ib_evt.element.port_num = 1; in ocrdma_dispatch_ibevent()
751 ib_evt.event = IB_EVENT_DEVICE_FATAL; in ocrdma_dispatch_ibevent()
756 ib_evt.element.srq = &qp->srq->ibsrq; in ocrdma_dispatch_ibevent()
757 ib_evt.event = IB_EVENT_SRQ_ERR; in ocrdma_dispatch_ibevent()
762 ib_evt.element.srq = &qp->srq->ibsrq; in ocrdma_dispatch_ibevent()
763 ib_evt.event = IB_EVENT_SRQ_LIMIT_REACHED; in ocrdma_dispatch_ibevent()
768 ib_evt.element.qp = &qp->ibqp; in ocrdma_dispatch_ibevent()
769 ib_evt.event = IB_EVENT_QP_LAST_WQE_REACHED; in ocrdma_dispatch_ibevent()
785 qp->ibqp.event_handler(&ib_evt, qp->ibqp.qp_context); in ocrdma_dispatch_ibevent()
788 cq->ibcq.event_handler(&ib_evt, cq->ibcq.cq_context); in ocrdma_dispatch_ibevent()
791 qp->srq->ibsrq.event_handler(&ib_evt, in ocrdma_dispatch_ibevent()
796 ib_dispatch_event(&ib_evt); in ocrdma_dispatch_ibevent()