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

Function tap_intr_handle_set

dpdk/drivers/net/tap/rte_eth_tap.c:1763–1778  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1761}
1762
1763static int
1764tap_intr_handle_set(struct rte_eth_dev *dev, int set)
1765{
1766 int err;
1767
1768 err = tap_lsc_intr_handle_set(dev, set);
1769 if (err < 0) {
1770 if (!set)
1771 tap_rx_intr_vec_set(dev, 0);
1772 return err;
1773 }
1774 err = tap_rx_intr_vec_set(dev, set);
1775 if (err && set)
1776 tap_lsc_intr_handle_set(dev, 0);
1777 return err;
1778}
1779
1780static const uint32_t*
1781tap_dev_supported_ptypes_get(struct rte_eth_dev *dev __rte_unused)

Callers 2

tap_dev_startFunction · 0.85
tap_dev_stopFunction · 0.85

Calls 2

tap_lsc_intr_handle_setFunction · 0.85
tap_rx_intr_vec_setFunction · 0.85

Tested by

no test coverage detected