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

Function eth_err

dpdk/lib/ethdev/rte_ethdev.c:760–768  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

758}
759
760int
761eth_err(uint16_t port_id, int ret)
762{
763 if (ret == 0)
764 return 0;
765 if (rte_eth_dev_is_removed(port_id))
766 return -EIO;
767 return ret;
768}
769
770static int
771eth_dev_validate_rx_queue(const struct rte_eth_dev *dev, uint16_t rx_queue_id)

Callers 15

rte_eth_dev_configureFunction · 0.85
eth_dev_config_restoreFunction · 0.85
rte_eth_dev_startFunction · 0.85
rte_eth_dev_set_link_upFunction · 0.85
rte_eth_dev_resetFunction · 0.85
rte_eth_rx_queue_setupFunction · 0.85

Calls 1

rte_eth_dev_is_removedFunction · 0.85

Tested by

no test coverage detected