]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_ether/rte_ethdev_vdev.h
event/octeontx: support device stop flush callback
[dpdk.git] / lib / librte_ether / rte_ethdev_vdev.h
index fa2cb61e1ce7b7b51dfb9459e2c84b6adf95396f..259feda3f7e84c6f4c7a99532fa34e19f8633c52 100644 (file)
 #ifndef _RTE_ETHDEV_VDEV_H_
 #define _RTE_ETHDEV_VDEV_H_
 
+#include <rte_config.h>
 #include <rte_malloc.h>
-#include <rte_vdev.h>
-#include <rte_ethdev.h>
+#include <rte_bus_vdev.h>
+#include <rte_ethdev_driver.h>
 
 /**
  * @internal
@@ -77,7 +78,6 @@ rte_eth_vdev_allocate(struct rte_vdev_device *dev, size_t private_data_size)
 
        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;
 }