Lines Matching defs:qp
1922 ixl_enable_queue_intr(struct ixl_softc *sc, struct ixl_queue_pair *qp)
1924 struct ixl_rx_ring *rxr = qp->qp_rxr;
1934 ixl_disable_queue_intr(struct ixl_softc *sc, struct ixl_queue_pair *qp)
1936 struct ixl_rx_ring *rxr = qp->qp_rxr;
2287 struct ixl_queue_pair *qp;
2295 qp = &sc->sc_qps[i];
2297 qp
2298 ixl_handle_queue, qp);
2299 if (qp->qp_si == NULL)
2302 qp->qp_txr = ixl_txr_alloc(sc, i);
2303 if (qp->qp_txr == NULL)
2306 qp->qp_rxr = ixl_rxr_alloc(sc, i);
2307 if (qp->qp_rxr == NULL)
2310 qp->qp_sc = sc;
2311 snprintf(qp->qp_name, sizeof(qp->qp_name),
2319 qp = &sc->sc_qps[i];
2321 if (qp->qp_txr != NULL)
2322 ixl_txr_free(sc, qp->qp_txr);
2323 if (qp->qp_rxr != NULL)
2324 ixl_rxr_free(sc, qp->qp_rxr);
2325 if (qp->qp_si != NULL)
2326 softint_disestablish(qp->qp_si);
2340 struct ixl_queue_pair *qp;
2345 qp = &sc->sc_qps[i];
2346 ixl_txr_free(sc, qp->qp_txr);
2347 ixl_rxr_free(sc, qp->qp_rxr);
2348 softint_disestablish(qp->qp_si);
3373 ixl_handle_queue_common(struct ixl_softc *sc, struct ixl_queue_pair *qp,
3377 struct ixl_tx_ring *txr = qp->qp_txr;
3378 struct ixl_rx_ring *rxr = qp->qp_rxr;
3398 ixl_sched_handle_queue(struct ixl_softc *sc, struct ixl_queue_pair *qp)
3401 if (qp->qp_workqueue)
3402 workqueue_enqueue(sc->sc_workq_txrx, &qp->qp_work, NULL);
3404 softint_schedule(qp->qp_si);
3456 struct ixl_queue_pair *qp = xqp;
3457 struct ixl_tx_ring *txr = qp->qp_txr;
3458 struct ixl_rx_ring *rxr = qp->qp_rxr;
3459 struct ixl_softc *sc = qp->qp_sc;
3465 qp->qp_workqueue = sc->sc_txrx_workqueue;
3467 more = ixl_handle_queue_common(sc, qp,
3471 ixl_sched_handle_queue(sc, qp);
3478 ixl_enable_queue_intr(sc, qp);
3487 struct ixl_queue_pair *qp;
3489 qp = container_of(wk, struct ixl_queue_pair, qp_work);
3490 ixl_handle_queue(qp);
3496 struct ixl_queue_pair *qp = xqp;
3497 struct ixl_softc *sc = qp->qp_sc;
3498 struct ixl_tx_ring *txr = qp->qp_txr;
3499 struct ixl_rx_ring *rxr = qp->qp_rxr;
3506 more = ixl_handle_queue_common(sc, qp,
3510 ixl_sched_handle_queue(sc, qp);
3512 ixl_enable_queue_intr(sc, qp);
6042 struct ixl_queue_pair *qp;
6049 qp = &sc->sc_qps[i];
6050 txr = qp->qp_txr;
6051 rxr = qp->qp_rxr;
6054 NULL, qp->qp_name, "m_defrag successed");
6056 NULL, qp->qp_name, "m_defrag_failed");
6058 NULL, qp->qp_name, "Dropped in pcq");
6060 NULL, qp->qp_name, "Deferred transmit");
6062 NULL, qp->qp_name, "Interrupt on queue");
6064 NULL, qp->qp_name, "Handled queue in softint/workqueue");
6067 NULL, qp->qp_name, "MGETHDR failed");
6069 NULL, qp->qp_name, "MCLGET failed");
6071 EVCNT_TYPE_MISC, NULL, qp->qp_name,
6074 NULL, qp->qp_name, "Interrupt on queue");
6076 NULL, qp->qp_name, "Handled queue in softint/workqueue");