5 #ifndef _RTE_ETHDEV_DRIVER_H_ 6 #define _RTE_ETHDEV_DRIVER_H_ 33 struct rte_eth_dev *rte_eth_dev_allocated(
const char *name);
45 struct rte_eth_dev *rte_eth_dev_allocate(
const char *name);
58 struct rte_eth_dev *rte_eth_dev_attach_secondary(
const char *name);
69 int rte_eth_dev_release_port(
struct rte_eth_dev *eth_dev);
82 void _rte_eth_dev_reset(
struct rte_eth_dev *dev);
101 int _rte_eth_dev_callback_process(
struct rte_eth_dev *dev,
125 uint16_t queue_id,
size_t size,
const struct rte_memzone * rte_eth_dma_zone_reserve(const struct rte_eth_dev *eth_dev, const char *name, uint16_t queue_id, size_t size, unsigned align, int socket_id)
char name[RTE_MEMZONE_NAMESIZE]