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;
enum rte_proc_type_t rte_eal_process_type(void)
int rte_event_pmd_release(struct rte_eventdev *eventdev)
struct rte_eventdev * rte_event_pmd_allocate(const char *name, int socket_id)
static struct rte_eventdev * rte_event_pmd_get_named_dev(const char *name)
void * rte_zmalloc_socket(const char *type, size_t size, unsigned align, int socket)
int rte_event_dev_close(uint8_t dev_id)