5 #ifndef _RTE_EVENTDEV_PMD_VDEV_H_ 6 #define _RTE_EVENTDEV_PMD_VDEV_H_ 26 #include <rte_config.h> 48 static inline struct rte_eventdev *
49 rte_event_pmd_vdev_init(
const char *name,
size_t dev_private_size,
53 struct rte_eventdev *eventdev;
62 eventdev->data->dev_private =
68 if (eventdev->data->dev_private == NULL)
69 rte_panic(
"Cannot allocate memzone for private device" 86 rte_event_pmd_vdev_uninit(
const char *name)
89 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)