X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_ether%2Frte_ethdev_vdev.h;h=259feda3f7e84c6f4c7a99532fa34e19f8633c52;hb=66226f28e18b1ed2775c4f079438dbad71b1717f;hp=0b475357a35d924491772716f9f85add3ef1d6e7;hpb=7f0a669e7b048f14f5bb6be7df2bb2e4670b4aae;p=dpdk.git diff --git a/lib/librte_ether/rte_ethdev_vdev.h b/lib/librte_ether/rte_ethdev_vdev.h index 0b475357a3..259feda3f7 100644 --- a/lib/librte_ether/rte_ethdev_vdev.h +++ b/lib/librte_ether/rte_ethdev_vdev.h @@ -34,9 +34,10 @@ #ifndef _RTE_ETHDEV_VDEV_H_ #define _RTE_ETHDEV_VDEV_H_ +#include #include -#include -#include +#include +#include /** * @internal @@ -73,12 +74,10 @@ rte_eth_vdev_allocate(struct rte_vdev_device *dev, size_t private_data_size) } eth_dev->device = &dev->device; - eth_dev->driver = NULL; eth_dev->intr_handle = NULL; eth_dev->data->kdrv = RTE_KDRV_NONE; eth_dev->data->numa_node = dev->device.numa_node; - eth_dev->data->drv_name = dev->device.driver->name; return eth_dev; }