Lines Matching refs:eth_dev
35 struct rte_eth_dev *eth_dev;
38 eth_dev = rte_eth_dev_allocate(name);
39 if (!eth_dev)
43 eth_dev->data->dev_private = rte_zmalloc_socket(name,
46 if (!eth_dev->data->dev_private) {
47 rte_eth_dev_release_port(eth_dev);
52 eth_dev->device = &dev->device;
53 eth_dev->intr_handle = NULL;
55 eth_dev->data->numa_node = dev->device.numa_node;
56 return eth_dev;