5 #ifndef _RTE_EVENTDEV_PMD_VDEV_H_
6 #define _RTE_EVENTDEV_PMD_VDEV_H_
22 #include <rte_config.h>
25 #include <rte_bus_vdev.h>
44 static inline struct rte_eventdev *
45 rte_event_pmd_vdev_init(
const char *name,
size_t dev_private_size,
49 struct rte_eventdev *eventdev;
58 eventdev->data->dev_private =
64 if (eventdev->data->dev_private == NULL)
65 rte_panic(
"Cannot allocate memzone for private device"
82 rte_event_pmd_vdev_uninit(
const char *name)
85 struct rte_eventdev *eventdev;