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

Function tap_rx_intr_vec_set

dpdk/drivers/net/tap/tap_intr.c:106–113  ·  view source on GitHub ↗

* Register or unregister the Rx interrupts. * * @param dev * Pointer to the tap rte_eth_dev device structure. * @param set * should the operation be register or unregister the interrupts. * * @return * 0 on success, negative errno value otherwise and rte_errno is set. */

Source from the content-addressed store, hash-verified

104 * 0 on success, negative errno value otherwise and rte_errno is set.
105 */
106int
107tap_rx_intr_vec_set(struct rte_eth_dev *dev, int set)
108{
109 tap_rx_intr_vec_uninstall(dev);
110 if (set)
111 return tap_rx_intr_vec_install(dev);
112 return 0;
113}

Callers 1

tap_intr_handle_setFunction · 0.85

Calls 2

tap_rx_intr_vec_installFunction · 0.85

Tested by

no test coverage detected