Home
last modified time | relevance | path

Searched refs:ibevent (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/net/smc/
Dsmc_ib.c397 struct ib_event *ibevent) in smc_ib_global_event_handler() argument
405 switch (ibevent->event) { in smc_ib_global_event_handler()
418 port_idx = ibevent->element.port_num - 1; in smc_ib_global_event_handler()
426 port_idx = ibevent->element.port_num - 1; in smc_ib_global_event_handler()
434 port_idx = ibevent->element.port_num - 1; in smc_ib_global_event_handler()
628 static void smc_ib_qp_event_handler(struct ib_event *ibevent, void *priv) in smc_ib_qp_event_handler() argument
634 switch (ibevent->event) { in smc_ib_qp_event_handler()
637 port_idx = ibevent->element.qp->port - 1; in smc_ib_qp_event_handler()
/Linux-v6.1/drivers/infiniband/hw/irdma/
Dutils.c2470 struct ib_event ibevent; in irdma_ib_qp_event() local
2477 ibevent.event = IB_EVENT_QP_FATAL; in irdma_ib_qp_event()
2480 ibevent.event = IB_EVENT_QP_ACCESS_ERR; in irdma_ib_qp_event()
2483 ibevent.event = IB_EVENT_QP_REQ_ERR; in irdma_ib_qp_event()
2486 ibevent.device = iwqp->ibqp.device; in irdma_ib_qp_event()
2487 ibevent.element.qp = &iwqp->ibqp; in irdma_ib_qp_event()
2488 iwqp->ibqp.event_handler(&ibevent, iwqp->ibqp.qp_context); in irdma_ib_qp_event()
Dhw.c343 struct ib_event ibevent; in irdma_process_aeq() local
345 ibevent.device = iwcq->ibcq.device; in irdma_process_aeq()
346 ibevent.event = IB_EVENT_CQ_ERR; in irdma_process_aeq()
347 ibevent.element.cq = &iwcq->ibcq; in irdma_process_aeq()
348 iwcq->ibcq.event_handler(&ibevent, in irdma_process_aeq()