| 437 | } |
| 438 | |
| 439 | static void |
| 440 | enic_intr_handler(void *arg) |
| 441 | { |
| 442 | struct rte_eth_dev *dev = (struct rte_eth_dev *)arg; |
| 443 | struct enic *enic = pmd_priv(dev); |
| 444 | |
| 445 | vnic_intr_return_all_credits(&enic->intr[ENICPMD_LSC_INTR_OFFSET]); |
| 446 | |
| 447 | enic_link_update(dev); |
| 448 | rte_eth_dev_callback_process(dev, RTE_ETH_EVENT_INTR_LSC, NULL); |
| 449 | enic_log_q_error(enic); |
| 450 | /* Re-enable irq in case of INTx */ |
| 451 | rte_intr_ack(enic->pdev->intr_handle); |
| 452 | } |
| 453 | |
| 454 | static int enic_rxq_intr_init(struct enic *enic) |
| 455 | { |
nothing calls this directly
no test coverage detected