Lines Matching refs:queues

654 		evcnt_detach(&sc->queues[i].irqs);  in ixv_detach()
655 evcnt_detach(&sc->queues[i].handleq); in ixv_detach()
656 evcnt_detach(&sc->queues[i].req); in ixv_detach()
724 for (i = 0, que = sc->queues; i < sc->num_queues; i++, que++) in ixv_init_locked()
784 for (i = 0, que = sc->queues; i < sc->num_queues; i++, que++) in ixv_init_locked()
833 struct ix_queue *que = &sc->queues[vector]; in ixv_enable_queue()
854 struct ix_queue *que = &sc->queues[vector]; in ixv_disable_queue()
870 ixv_rearm_queues(struct ixgbe_softc *sc, u64 queues)
872 u32 mask = (IXGBE_EIMS_RTX_QUEUE & queues);
1285 struct ix_queue *que = sc->queues; in ixv_handle_timer()
1286 u64 queues = 0; in ixv_handle_timer() local
1304 que = sc->queues; in ixv_handle_timer()
1331 que = sc->queues; in ixv_handle_timer()
1335 queues |= ((u64)1 << que->me); in ixv_handle_timer()
1363 else if (queues != 0) { /* Force an IRQ on queues with work */ in ixv_handle_timer()
1364 ixv_rearm_queues(sc, queues); in ixv_handle_timer()
1556 struct ix_queue *que = sc->queues; in ixv_free_deferred_handlers()
1592 struct ix_queue *que = sc->queues; in ixv_free_pci_resources()
2320 struct ix_queue *que = sc->queues; in ixv_enable_intr()
2332 que = sc->queues; in ixv_enable_intr()
2345 struct ix_queue *que = sc->queues; in ixv_disable_intr()
2394 struct ix_queue *que = sc->queues; in ixv_configure_ivars()
2662 snprintf(sc->queues[i].evnamebuf, in ixv_add_stats_sysctls()
2663 sizeof(sc->queues[i].evnamebuf), "%s q%d", xname, i); in ixv_add_stats_sysctls()
2664 snprintf(sc->queues[i].namebuf, in ixv_add_stats_sysctls()
2665 sizeof(sc->queues[i].namebuf), "q%d", i); in ixv_add_stats_sysctls()
2675 sc->queues[i].namebuf, SYSCTL_DESCR("Queue Name"), in ixv_add_stats_sysctls()
2683 (void *)&sc->queues[i], 0, CTL_CREATE, CTL_EOL) != 0) in ixv_add_stats_sysctls()
2728 evcnt_attach_dynamic(&sc->queues[i].irqs, EVCNT_TYPE_INTR, in ixv_add_stats_sysctls()
2729 NULL, sc->queues[i].evnamebuf, "IRQs on queue"); in ixv_add_stats_sysctls()
2730 evcnt_attach_dynamic(&sc->queues[i].handleq, in ixv_add_stats_sysctls()
2731 EVCNT_TYPE_MISC, NULL, sc->queues[i].evnamebuf, in ixv_add_stats_sysctls()
2733 evcnt_attach_dynamic(&sc->queues[i].req, EVCNT_TYPE_MISC, in ixv_add_stats_sysctls()
2734 NULL, sc->queues[i].evnamebuf, "Requeued in softint"); in ixv_add_stats_sysctls()
2736 NULL, sc->queues[i].evnamebuf, in ixv_add_stats_sysctls()
2740 NULL, sc->queues[i].evnamebuf, in ixv_add_stats_sysctls()
2744 NULL, sc->queues[i].evnamebuf, in ixv_add_stats_sysctls()
2747 NULL, sc->queues[i].evnamebuf, "TSO"); in ixv_add_stats_sysctls()
2750 NULL, sc->queues[i].evnamebuf, in ixv_add_stats_sysctls()
2753 NULL, sc->queues[i].evnamebuf, in ixv_add_stats_sysctls()
2756 NULL, sc->queues[i].evnamebuf, "Rx no mbuf"); in ixv_add_stats_sysctls()
2758 NULL, sc->queues[i].evnamebuf, "Rx discarded"); in ixv_add_stats_sysctls()
2760 NULL, sc->queues[i].evnamebuf, "Copied RX Frames"); in ixv_add_stats_sysctls()
2834 IXGBE_EVC_STORE(&sc->queues[i].irqs, 0); in ixv_clear_evcnt()
2835 IXGBE_EVC_STORE(&sc->queues[i].handleq, 0); in ixv_clear_evcnt()
2836 IXGBE_EVC_STORE(&sc->queues[i].req, 0); in ixv_clear_evcnt()
3317 if ((&sc->queues[0] == que) in ixv_handle_que()
3365 struct ix_queue *que = sc->queues; in ixv_allocate_msix()
3528 int want, queues, msgs; in ixv_configure_interrupts() local
3539 queues = (ncpu > (msgs - 1)) ? (msgs - 1) : ncpu; in ixv_configure_interrupts()
3542 queues = ixv_num_queues; in ixv_configure_interrupts()
3543 else if ((ixv_num_queues == 0) && (queues > IXGBE_VF_MAX_TX_QUEUES)) in ixv_configure_interrupts()
3544 queues = IXGBE_VF_MAX_TX_QUEUES; in ixv_configure_interrupts()
3550 want = queues + 1; in ixv_configure_interrupts()
3562 sc->num_queues = queues; in ixv_configure_interrupts()