MCPcopy Create free account
hub / github.com/F-Stack/f-stack / enic_intr_handler

Function enic_intr_handler

dpdk/drivers/net/enic/enic_main.c:439–452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

437}
438
439static void
440enic_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
454static int enic_rxq_intr_init(struct enic *enic)
455{

Callers

nothing calls this directly

Calls 6

pmd_privFunction · 0.85
enic_link_updateFunction · 0.85
enic_log_q_errorFunction · 0.85
rte_intr_ackFunction · 0.50

Tested by

no test coverage detected