8#ifndef _RTE_EVENTDEV_CORE_H_
9#define _RTE_EVENTDEV_CORE_H_
15typedef uint16_t (*event_enqueue_t)(
void *port,
const struct rte_event *ev);
18typedef uint16_t (*event_enqueue_burst_t)(
void *port,
23typedef uint16_t (*event_dequeue_t)(
void *port,
struct rte_event *ev,
24 uint64_t timeout_ticks);
27typedef uint16_t (*event_dequeue_burst_t)(
void *port,
struct rte_event ev[],
29 uint64_t timeout_ticks);
32typedef void (*event_maintain_t)(
void *port,
int op);
35typedef uint16_t (*event_tx_adapter_enqueue_t)(
void *port,
40typedef uint16_t (*event_crypto_adapter_enqueue_t)(
void *port,
45struct rte_event_fp_ops {
48 event_enqueue_t enqueue;
50 event_enqueue_burst_t enqueue_burst;
52 event_enqueue_burst_t enqueue_new_burst;
54 event_enqueue_burst_t enqueue_forward_burst;
56 event_dequeue_t dequeue;
58 event_dequeue_burst_t dequeue_burst;
60 event_maintain_t maintain;
62 event_tx_adapter_enqueue_t txa_enqueue;
64 event_tx_adapter_enqueue_t txa_enqueue_same_dest;
66 event_crypto_adapter_enqueue_t ca_enqueue;
68 uintptr_t reserved[6];
71extern struct rte_event_fp_ops rte_event_fp_ops[RTE_EVENT_MAX_DEVS];
#define __rte_cache_aligned