X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_ether%2Frte_ethdev_vdev.h;h=ff92e6ed0ee2999d94f0c1a9beed490b5099c61f;hb=e0f10b0874abc31216b0776d84f43471498cc911;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..ff92e6ed0e 100644 --- a/lib/librte_ether/rte_ethdev_vdev.h +++ b/lib/librte_ether/rte_ethdev_vdev.h @@ -35,7 +35,7 @@ #define _RTE_ETHDEV_VDEV_H_ #include -#include +#include #include /** @@ -73,12 +73,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; }