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

Function eth_igbvf_interrupt_action

dpdk/drivers/net/e1000/igb_ethdev.c:2997–3012  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2995}
2996
2997static int
2998eth_igbvf_interrupt_action(struct rte_eth_dev *dev, struct rte_intr_handle *intr_handle)
2999{
3000 struct e1000_interrupt *intr =
3001 E1000_DEV_PRIVATE_TO_INTR(dev->data->dev_private);
3002
3003 if (intr->flags & E1000_FLAG_MAILBOX) {
3004 igbvf_mbx_process(dev);
3005 intr->flags &= ~E1000_FLAG_MAILBOX;
3006 }
3007
3008 igbvf_intr_enable(dev);
3009 rte_intr_ack(intr_handle);
3010
3011 return 0;
3012}
3013
3014static void
3015eth_igbvf_interrupt_handler(void *param)

Callers 1

Calls 3

igbvf_mbx_processFunction · 0.85
igbvf_intr_enableFunction · 0.85
rte_intr_ackFunction · 0.50

Tested by

no test coverage detected