Lines Matching refs:intr_handle
384 struct rte_intr_handle *intr_handle = &pci_dev->intr_handle; in igc_intr_other_disable() local
386 if (rte_intr_allow_others(intr_handle) && in igc_intr_other_disable()
404 struct rte_intr_handle *intr_handle = &pci_dev->intr_handle; in igc_intr_other_enable() local
406 if (rte_intr_allow_others(intr_handle) && in igc_intr_other_enable()
616 struct rte_intr_handle *intr_handle = &pci_dev->intr_handle; in eth_igc_stop() local
637 rte_intr_disable(intr_handle); in eth_igc_stop()
660 if (!rte_intr_allow_others(intr_handle)) in eth_igc_stop()
662 rte_intr_callback_register(intr_handle, in eth_igc_stop()
667 rte_intr_efd_disable(intr_handle); in eth_igc_stop()
668 if (intr_handle->intr_vec != NULL) { in eth_igc_stop()
669 rte_free(intr_handle->intr_vec); in eth_igc_stop()
670 intr_handle->intr_vec = NULL; in eth_igc_stop()
731 struct rte_intr_handle *intr_handle = &pci_dev->intr_handle; in igc_configure_msix_intr() local
742 if (!rte_intr_dp_is_en(intr_handle)) in igc_configure_msix_intr()
745 if (rte_intr_allow_others(intr_handle)) { in igc_configure_msix_intr()
755 intr_mask = RTE_LEN2MASK(intr_handle->nb_efd, uint32_t) << in igc_configure_msix_intr()
773 intr_handle->intr_vec[i] = vec; in igc_configure_msix_intr()
774 if (vec < base + intr_handle->nb_efd - 1) in igc_configure_msix_intr()
810 struct rte_intr_handle *intr_handle = &pci_dev->intr_handle; in igc_rxq_interrupt_setup() local
811 int misc_shift = rte_intr_allow_others(intr_handle) ? 1 : 0; in igc_rxq_interrupt_setup()
816 if (!rte_intr_dp_is_en(intr_handle)) in igc_rxq_interrupt_setup()
819 mask = RTE_LEN2MASK(intr_handle->nb_efd, uint32_t) << misc_shift; in igc_rxq_interrupt_setup()
913 struct rte_intr_handle *intr_handle = &pci_dev->intr_handle; in eth_igc_start() local
928 rte_intr_disable(intr_handle); in eth_igc_start()
944 if (rte_intr_cap_multiple(intr_handle) && in eth_igc_start()
947 if (rte_intr_efd_enable(intr_handle, intr_vector)) in eth_igc_start()
951 if (rte_intr_dp_is_en(intr_handle) && !intr_handle->intr_vec) { in eth_igc_start()
952 intr_handle->intr_vec = rte_zmalloc("intr_vec", in eth_igc_start()
954 if (intr_handle->intr_vec == NULL) { in eth_igc_start()
1042 if (rte_intr_allow_others(intr_handle)) { in eth_igc_start()
1049 rte_intr_callback_unregister(intr_handle, in eth_igc_start()
1058 rte_intr_enable(intr_handle); in eth_igc_start()
1065 rte_intr_dp_is_en(intr_handle)) in eth_igc_start()
1175 struct rte_intr_handle *intr_handle = &pci_dev->intr_handle; in eth_igc_close() local
1193 int ret = rte_intr_callback_unregister(intr_handle, in eth_igc_close()
1345 rte_intr_callback_register(&pci_dev->intr_handle, in eth_igc_dev_init()
1349 rte_intr_enable(&pci_dev->intr_handle); in eth_igc_dev_init()
2103 struct rte_intr_handle *intr_handle = &pci_dev->intr_handle; in eth_igc_rx_queue_intr_disable() local
2106 if (rte_intr_allow_others(intr_handle)) in eth_igc_rx_queue_intr_disable()
2122 struct rte_intr_handle *intr_handle = &pci_dev->intr_handle; in eth_igc_rx_queue_intr_enable() local
2125 if (rte_intr_allow_others(intr_handle)) in eth_igc_rx_queue_intr_enable()
2133 rte_intr_enable(intr_handle); in eth_igc_rx_queue_intr_enable()