8 #ifndef _RTE_EVENTDEV_CORE_H_ 9 #define _RTE_EVENTDEV_CORE_H_ 15 typedef uint16_t (*event_enqueue_t)(
void *port,
const struct rte_event *ev);
18 typedef uint16_t (*event_enqueue_burst_t)(
void *port,
23 typedef uint16_t (*event_dequeue_t)(
void *port,
struct rte_event *ev,
24 uint64_t timeout_ticks);
27 typedef uint16_t (*event_dequeue_burst_t)(
void *port,
struct rte_event ev[],
29 uint64_t timeout_ticks);
32 typedef void (*event_maintain_t)(
void *port,
int op);
35 typedef uint16_t (*event_tx_adapter_enqueue_t)(
void *port,
40 typedef uint16_t (*event_crypto_adapter_enqueue_t)(
void *port,
45 typedef uint16_t (*event_dma_adapter_enqueue_t)(
void *port,
struct rte_event ev[],
49 typedef int (*event_profile_switch_t)(
void *port, uint8_t profile);
55 event_enqueue_t enqueue;
57 event_enqueue_burst_t enqueue_burst;
59 event_enqueue_burst_t enqueue_new_burst;
61 event_enqueue_burst_t enqueue_forward_burst;
63 event_dequeue_t dequeue;
65 event_dequeue_burst_t dequeue_burst;
67 event_maintain_t maintain;
69 event_tx_adapter_enqueue_t txa_enqueue;
71 event_tx_adapter_enqueue_t txa_enqueue_same_dest;
73 event_crypto_adapter_enqueue_t ca_enqueue;
75 event_dma_adapter_enqueue_t dma_enqueue;
77 event_profile_switch_t profile_switch;
79 uintptr_t reserved[4];
82 extern struct rte_event_fp_ops rte_event_fp_ops[RTE_EVENT_MAX_DEVS];
#define __rte_cache_aligned