Lines Matching defs:event

31  *    handling all of the various event types that the Hermon hardware can
35 * events from each of the many event queues used by the Hermon device.
91 uint32_t event_mask; /* used for multiple event types */
113 * and reserved a few of the other 32 for each specific class of event
168 * possible event class unmapping.
238 * This event is affiliated with an Fexch QP.
240 * NOTE: When an event fires on this EQ, it will demux the type and
270 * event types. Since we are not doing any page fault handling (and
333 * hardcoded value that was used above (during the event queue
341 * For each of the event queues that we initialized and mapped
529 * because all Hermon event queues have power-of-2 sizes
555 * ensuring that the event queues do not overflow (or,
556 * more specifically, the event queue associated with
618 ibc_async_event_t event;
629 bzero(&event, sizeof (ibc_async_event_t));
701 * Note: Since no event information (i.e. QP handles, CQ handles,
706 * means that we've have either received this event before we
711 HERMON_DO_IBTF_ASYNC_CALLB(state, type, &event);
758 * Allocate the software structure for tracking the event queue (i.e.
796 * SPIN in the HCR since the event queues are not setup yet, and we
978 * Save away the EQ handler function and the event type mask. These
979 * will be used later during interrupt and event queue processing.
985 * Map the EQ to a specific class of event (or events) depending
987 * to attempt associating the EQ with any specific class of event.
1019 * Unmap the EQ from the event class to which it had been previously
1025 * been made between the EQ and any specific class of event (and,
1129 ibc_async_event_t event;
1136 * Depending on the type of Port State Change event, pass the
1137 * appropriate asynch event to the IBTF.
1141 /* Check for valid port number in event */
1144 "change event");
1151 event.ev_port = port;
1158 event.ev_port = port;
1166 "event");
1173 * Deliver the event to the IBTF. Note: If "hs_ibtfpriv" is NULL,
1174 * then we have either received this event before we finished
1179 HERMON_DO_IBTF_ASYNC_CALLB(state, type, &event);
1197 ibc_async_event_t event;
1200 /* Get the QP handle from QP number in event descriptor */
1207 * should not deliver this event.
1210 * same as the QP number in the event queue entry. This
1213 * handle the event queue processing. By constantly incrementing
1216 * that a stale event could be passed to the client's QP
1220 * means that we've have either received this event before we
1226 event.ev_qp_hdl = (ibtl_qp_hdl_t)qp->qp_hdlrarg;
1229 HERMON_DO_IBTF_ASYNC_CALLB(state, type, &event);
1247 ibc_async_event_t event;
1250 /* Get the QP handle from QP number in event descriptor */
1257 * should not deliver this event.
1260 * same as the QP number in the event queue entry. This
1263 * handle the event queue processing. By constantly incrementing
1266 * that a stale event could be passed to the client's QP
1270 * means that we've have either received this event before we
1276 event.ev_qp_hdl = (ibtl_qp_hdl_t)qp->qp_hdlrarg;
1279 HERMON_DO_IBTF_ASYNC_CALLB(state, type, &event);
1297 ibc_async_event_t event;
1300 /* Get the QP handle from QP number in event descriptor */
1307 * should not deliver this event.
1310 * same as the QP number in the event queue entry. This
1313 * handle the event queue processing. By constantly incrementing
1316 * that a stale event could be passed to the client's QP
1320 * means that we've have either received this event before we
1326 event.ev_qp_hdl = (ibtl_qp_hdl_t)qp->qp_hdlrarg;
1329 HERMON_DO_IBTF_ASYNC_CALLB(state, type, &event);
1347 ibc_async_event_t event;
1350 /* Get the QP handle from QP number in event descriptor */
1357 * should not deliver this event.
1360 * same as the QP number in the event queue entry. This
1363 * handle the event queue processing. By constantly incrementing
1366 * that a stale event could be passed to the client's QP
1370 * means that we've have either received this event before we
1376 event.ev_qp_hdl = (ibtl_qp_hdl_t)qp->qp_hdlrarg;
1379 HERMON_DO_IBTF_ASYNC_CALLB(state, type, &event);
1397 ibc_async_event_t event;
1401 /* Get the QP handle from QP number in event descriptor */
1408 * should not deliver this event.
1411 * same as the QP number in the event queue entry. This
1414 * handle the event queue processing. By constantly incrementing
1417 * that a stale event could be passed to the client's QP
1421 * means that we've have either received this event before we
1427 event.ev_qp_hdl = (ibtl_qp_hdl_t)qp->qp_hdlrarg;
1432 * the Send Queue Drained event has arrived. Also determine
1433 * whether the event is intended to be forwarded on to the
1444 HERMON_DO_IBTF_ASYNC_CALLB(state, type, &event);
1463 ibc_async_event_t event;
1466 /* Get the QP handle from QP number in event descriptor */
1473 * should not deliver this event.
1476 * same as the QP number in the event queue entry. This
1479 * handle the event queue processing. By constantly incrementing
1482 * that a stale event could be passed to the client's QP
1486 * means that we've have either received this event before we
1492 event.ev_qp_hdl = (ibtl_qp_hdl_t)qp->qp_hdlrarg;
1495 HERMON_DO_IBTF_ASYNC_CALLB(state, type, &event);
1513 ibc_async_event_t event;
1516 /* Get the QP handle from QP number in event descriptor */
1523 * should not deliver this event.
1526 * same as the QP number in the event queue entry. This
1529 * handle the event queue processing. By constantly incrementing
1532 * that a stale event could be passed to the client's QP
1536 * means that we've have either received this event before we
1542 event.ev_qp_hdl = (ibtl_qp_hdl_t)qp->qp_hdlrarg;
1545 HERMON_DO_IBTF_ASYNC_CALLB(state, type, &event);
1563 ibc_async_event_t event;
1572 /* Get the QP handle from QP number in event descriptor */
1579 * should not deliver this event.
1582 * same as the QP number in the event queue entry. This
1585 * handle the event queue processing. By constantly incrementing
1588 * that a stale event could be passed to the client's QP
1592 * means that we've have either received this event before we
1598 event.ev_srq_hdl = (ibt_srq_hdl_t)qp->qp_srqhdl->srq_hdlrarg;
1605 HERMON_DO_IBTF_ASYNC_CALLB(state, type, &event);
1623 ibc_async_event_t event;
1626 /* Get the QP handle from QP number in event descriptor */
1633 * should not deliver this event.
1636 * same as the QP number in the event queue entry. This
1639 * handle the event queue processing. By constantly incrementing
1642 * that a stale event could be passed to the client's QP
1646 * means that we've have either received this event before we
1652 event.ev_qp_hdl = (ibtl_qp_hdl_t)qp->qp_hdlrarg;
1655 HERMON_DO_IBTF_ASYNC_CALLB(state, type, &event);
1668 ibc_async_event_t event;
1671 /* Get the QP handle from QP number in event descriptor */
1672 event.ev_port = HERMON_EQE_FEXCH_PORTNUM_GET(eq, eqe);
1674 event.ev_port, HERMON_EQE_FEXCH_FEXCH_GET(eq, eqe));
1677 event.ev_fc = HERMON_EQE_FEXCH_SYNDROME_GET(eq, eqe);
1682 * should not deliver this event.
1685 * same as the QP number in the event queue entry. This
1688 * handle the event queue processing. By constantly incrementing
1691 * that a stale event could be passed to the client's QP
1695 * means that we've have either received this event before we
1701 event.ev_qp_hdl = (ibtl_qp_hdl_t)qp->qp_hdlrarg;
1704 HERMON_DO_IBTF_ASYNC_CALLB(state, type, &event);
1724 * This "unexpected event" handler (or "catch-all" handler) will
1729 * about the event. So we print a warning message here along with