Lines Matching refs:intr_handle

518 	struct rte_intr_handle *intr_handle = pci_dev->intr_handle;  in igb_intr_enable()  local
520 if (rte_intr_allow_others(intr_handle) && in igb_intr_enable()
535 struct rte_intr_handle *intr_handle = pci_dev->intr_handle; in igb_intr_disable() local
537 if (rte_intr_allow_others(intr_handle) && in igb_intr_disable()
883 rte_intr_callback_register(pci_dev->intr_handle, in eth_igb_dev_init()
888 rte_intr_enable(pci_dev->intr_handle); in eth_igb_dev_init()
1160 struct rte_intr_handle *intr_handle; in eth_igbvf_dev_init() local
1246 intr_handle = pci_dev->intr_handle; in eth_igbvf_dev_init()
1247 rte_intr_callback_register(intr_handle, in eth_igbvf_dev_init()
1450 struct rte_intr_handle *intr_handle = pci_dev->intr_handle; in eth_igb_start() local
1461 rte_intr_disable(intr_handle); in eth_igb_start()
1501 if ((rte_intr_cap_multiple(intr_handle) || in eth_igb_start()
1505 if (rte_intr_efd_enable(intr_handle, intr_vector)) in eth_igb_start()
1510 if (rte_intr_dp_is_en(intr_handle)) { in eth_igb_start()
1511 if (rte_intr_vec_list_alloc(intr_handle, "intr_vec", in eth_igb_start()
1616 if (rte_intr_allow_others(intr_handle)) { in eth_igb_start()
1623 rte_intr_callback_unregister(intr_handle, in eth_igb_start()
1633 rte_intr_dp_is_en(intr_handle)) in eth_igb_start()
1637 rte_intr_enable(intr_handle); in eth_igb_start()
1671 struct rte_intr_handle *intr_handle = pci_dev->intr_handle; in eth_igb_stop() local
1683 rte_intr_disable(intr_handle); in eth_igb_stop()
1707 if (!rte_intr_allow_others(intr_handle)) in eth_igb_stop()
1709 rte_intr_callback_register(intr_handle, in eth_igb_stop()
1714 rte_intr_efd_disable(intr_handle); in eth_igb_stop()
1715 rte_intr_vec_list_free(intr_handle); in eth_igb_stop()
1755 struct rte_intr_handle *intr_handle = pci_dev->intr_handle; in eth_igb_close() local
1782 rte_intr_vec_list_free(intr_handle); in eth_igb_close()
1793 rte_intr_callback_unregister(intr_handle, in eth_igb_close()
3020 struct rte_intr_handle *intr_handle = pci_dev->intr_handle; in eth_igb_rxq_interrupt_setup() local
3021 int misc_shift = rte_intr_allow_others(intr_handle) ? 1 : 0; in eth_igb_rxq_interrupt_setup()
3084 struct rte_intr_handle *intr_handle) in eth_igb_interrupt_action() argument
3100 rte_intr_ack(intr_handle); in eth_igb_interrupt_action()
3154 eth_igb_interrupt_action(dev, dev->intr_handle); in eth_igb_interrupt_handler()
3199 eth_igbvf_interrupt_action(struct rte_eth_dev *dev, struct rte_intr_handle *intr_handle) in eth_igbvf_interrupt_action() argument
3210 rte_intr_ack(intr_handle); in eth_igbvf_interrupt_action()
3221 eth_igbvf_interrupt_action(dev, dev->intr_handle); in eth_igbvf_interrupt_handler()
3537 struct rte_intr_handle *intr_handle = pci_dev->intr_handle; in igbvf_dev_start() local
3560 if (rte_intr_cap_multiple(intr_handle) && in igbvf_dev_start()
3563 ret = rte_intr_efd_enable(intr_handle, intr_vector); in igbvf_dev_start()
3569 if (rte_intr_dp_is_en(intr_handle)) { in igbvf_dev_start()
3570 if (rte_intr_vec_list_alloc(intr_handle, "intr_vec", in igbvf_dev_start()
3581 rte_intr_enable(intr_handle); in igbvf_dev_start()
3593 struct rte_intr_handle *intr_handle = pci_dev->intr_handle; in igbvf_dev_stop() local
3613 rte_intr_disable(intr_handle); in igbvf_dev_stop()
3616 rte_intr_efd_disable(intr_handle); in igbvf_dev_stop()
3619 rte_intr_vec_list_free(intr_handle); in igbvf_dev_stop()
3657 rte_intr_callback_unregister(pci_dev->intr_handle, in igbvf_dev_close()
5359 struct rte_intr_handle *intr_handle = pci_dev->intr_handle; in eth_igb_rx_queue_intr_disable() local
5362 if (rte_intr_allow_others(intr_handle)) in eth_igb_rx_queue_intr_disable()
5379 struct rte_intr_handle *intr_handle = pci_dev->intr_handle; in eth_igb_rx_queue_intr_enable() local
5382 if (rte_intr_allow_others(intr_handle)) in eth_igb_rx_queue_intr_enable()
5392 rte_intr_ack(intr_handle); in eth_igb_rx_queue_intr_enable()
5457 struct rte_intr_handle *intr_handle = pci_dev->intr_handle; in eth_igb_configure_msix_intr() local
5462 if (!rte_intr_dp_is_en(intr_handle)) in eth_igb_configure_msix_intr()
5465 if (rte_intr_allow_others(intr_handle)) { in eth_igb_configure_msix_intr()
5498 nb_efd = rte_intr_nb_efd_get(intr_handle); in eth_igb_configure_msix_intr()
5520 nb_efd = rte_intr_nb_efd_get(intr_handle); in eth_igb_configure_msix_intr()
5534 rte_intr_vec_list_index_set(intr_handle, queue_id, vec); in eth_igb_configure_msix_intr()
5535 if (vec < base + rte_intr_nb_efd_get(intr_handle) - 1) in eth_igb_configure_msix_intr()