Lines Matching refs:que
410 struct ix_tx_queue *que; in ixgbe_if_tx_queues_alloc() local
427 for (i = 0, que = sc->tx_queues; i < ntxqsets; i++, que++) { in ixgbe_if_tx_queues_alloc()
428 struct tx_ring *txr = &que->txr; in ixgbe_if_tx_queues_alloc()
434 txr->sc = que->sc = sc; in ixgbe_if_tx_queues_alloc()
477 struct ix_rx_queue *que; in ixgbe_if_rx_queues_alloc() local
494 for (i = 0, que = sc->rx_queues; i < nrxqsets; i++, que++) { in ixgbe_if_rx_queues_alloc()
495 struct rx_ring *rxr = &que->rxr; in ixgbe_if_rx_queues_alloc()
501 rxr->sc = que->sc = sc; in ixgbe_if_rx_queues_alloc()
508 rxr->que = que; in ixgbe_if_rx_queues_alloc()
671 struct ix_rx_queue *que; in ixgbe_initialize_receive_units() local
703 for (i = 0, que = sc->rx_queues; i < sc->num_rx_queues; i++, que++) { in ixgbe_initialize_receive_units()
704 struct rx_ring *rxr = &que->rxr; in ixgbe_initialize_receive_units()
783 struct ix_tx_queue *que; in ixgbe_initialize_transmit_units() local
787 for (i = 0, que = sc->tx_queues; i < sc->num_tx_queues; in ixgbe_initialize_transmit_units()
788 i++, que++) { in ixgbe_initialize_transmit_units()
789 struct tx_ring *txr = &que->txr; in ixgbe_initialize_transmit_units()
2182 ixgbe_perform_aim(struct ixgbe_softc *sc, struct ix_rx_queue *que) in ixgbe_perform_aim() argument
2185 struct rx_ring *rxr = &que->rxr; in ixgbe_perform_aim()
2194 if (que->eitr_setting) { in ixgbe_perform_aim()
2195 IXGBE_WRITE_REG(&sc->hw, IXGBE_EITR(que->msix), in ixgbe_perform_aim()
2196 que->eitr_setting); in ixgbe_perform_aim()
2199 que->eitr_setting = 0; in ixgbe_perform_aim()
2233 que->eitr_setting = newitr; in ixgbe_perform_aim()
2250 struct ix_rx_queue *que = arg; in ixgbe_msix_que() local
2251 struct ixgbe_softc *sc = que->sc; in ixgbe_msix_que()
2252 if_t ifp = iflib_get_ifp(que->sc->ctx); in ixgbe_msix_que()
2258 ixgbe_disable_queue(sc, que->msix); in ixgbe_msix_que()
2259 ++que->irqs; in ixgbe_msix_que()
2263 ixgbe_perform_aim(sc, que); in ixgbe_msix_que()
2691 struct ix_rx_queue *que = ((struct ix_rx_queue *)oidp->oid_arg1); in ixgbe_sysctl_interrupt_rate_handler() local
2695 if (atomic_load_acq_int(&que->sc->recovery_mode)) in ixgbe_sysctl_interrupt_rate_handler()
2698 reg = IXGBE_READ_REG(&que->sc->hw, IXGBE_EITR(que->msix)); in ixgbe_sysctl_interrupt_rate_handler()
2715 IXGBE_WRITE_REG(&que->sc->hw, IXGBE_EITR(que->msix), reg); in ixgbe_sysctl_interrupt_rate_handler()
3827 struct ix_rx_queue *que = sc->rx_queues; in ixgbe_if_enable_intr() local
3897 for (int i = 0; i < sc->num_rx_queues; i++, que++) in ixgbe_if_enable_intr()
3898 ixgbe_enable_queue(sc, que->msix); in ixgbe_if_enable_intr()
3944 struct ix_rx_queue *que = &sc->rx_queues[rxqid]; in ixgbe_if_rx_queue_intr_enable() local
3946 ixgbe_enable_queue(sc, que->msix); in ixgbe_if_rx_queue_intr_enable()
4004 struct ix_rx_queue *que = sc->rx_queues; in ixgbe_intr() local
4011 ++que->irqs; in ixgbe_intr()
4066 struct ix_rx_queue *que = sc->rx_queues; in ixgbe_free_pci_resources() local
4073 if (que != NULL) { in ixgbe_free_pci_resources()
4074 for (int i = 0; i < sc->num_rx_queues; i++, que++) { in ixgbe_free_pci_resources()
4075 iflib_irq_free(ctx, &que->que_irq); in ixgbe_free_pci_resources()