Searched refs:ibevent (Results 1 – 8 of 8) sorted by relevance
403 struct ib_event *ibevent) in smc_ib_global_event_handler() argument411 switch (ibevent->event) { in smc_ib_global_event_handler()424 port_idx = ibevent->element.port_num - 1; in smc_ib_global_event_handler()432 port_idx = ibevent->element.port_num - 1; in smc_ib_global_event_handler()440 port_idx = ibevent->element.port_num - 1; in smc_ib_global_event_handler()634 static void smc_ib_qp_event_handler(struct ib_event *ibevent, void *priv) in smc_ib_qp_event_handler() argument640 switch (ibevent->event) { in smc_ib_qp_event_handler()643 port_idx = ibevent->element.qp->port - 1; in smc_ib_qp_event_handler()
136 struct ib_event *ibevent);
216 struct ib_event *ibevent);
2276 struct ib_event *ibevent) in rtrs_srv_ib_event_handler() argument2278 pr_info("Handling event: %s (%d).\n", ib_event_msg(ibevent->event), in rtrs_srv_ib_event_handler()2279 ibevent->event); in rtrs_srv_ib_event_handler()
3147 struct ib_event *ibevent) in rtrs_clt_ib_event_handler() argument3149 pr_info("Handling event: %s (%d).\n", ib_event_msg(ibevent->event), in rtrs_clt_ib_event_handler()3150 ibevent->event); in rtrs_clt_ib_event_handler()
2354 struct ib_event ibevent; in irdma_ib_qp_event() local2361 ibevent.event = IB_EVENT_QP_FATAL; in irdma_ib_qp_event()2364 ibevent.event = IB_EVENT_QP_ACCESS_ERR; in irdma_ib_qp_event()2367 ibevent.event = IB_EVENT_QP_REQ_ERR; in irdma_ib_qp_event()2370 ibevent.device = iwqp->ibqp.device; in irdma_ib_qp_event()2371 ibevent.element.qp = &iwqp->ibqp; in irdma_ib_qp_event()2372 iwqp->ibqp.event_handler(&ibevent, iwqp->ibqp.qp_context); in irdma_ib_qp_event()
356 struct ib_event ibevent; in irdma_process_aeq() local358 ibevent.device = iwcq->ibcq.device; in irdma_process_aeq()359 ibevent.event = IB_EVENT_CQ_ERR; in irdma_process_aeq()360 ibevent.element.cq = &iwcq->ibcq; in irdma_process_aeq()361 iwcq->ibcq.event_handler(&ibevent, in irdma_process_aeq()
1165 struct ib_event ibevent = {}; in bnxt_re_handle_cq_async_error() local1175 ibevent.event = IB_EVENT_CQ_ERR; in bnxt_re_handle_cq_async_error()1181 if (ibevent.event == IB_EVENT_CQ_ERR && cq->ib_cq.event_handler) { in bnxt_re_handle_cq_async_error()1182 ibevent.element.cq = &cq->ib_cq; in bnxt_re_handle_cq_async_error()1183 ibevent.device = &cq->rdev->ibdev; in bnxt_re_handle_cq_async_error()1187 cq->ib_cq.event_handler(&ibevent, cq->ib_cq.cq_context); in bnxt_re_handle_cq_async_error()