DPDK  24.03.0
rte_port_eventdev.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2019 Intel Corporation
3  */
4 
5 #ifndef __INCLUDE_RTE_PORT_EVENTDEV_H__
6 #define __INCLUDE_RTE_PORT_EVENTDEV_H__
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
22 #include <stdint.h>
23 #include <rte_eventdev.h>
24 
25 #include "rte_port.h"
26 
30  uint8_t eventdev_id;
31 
33  uint8_t port_id;
34 };
35 
38 
42  uint8_t eventdev_id;
43 
45  uint8_t port_id;
46 
48  uint8_t queue_id;
49 
51  uint32_t enq_burst_sz;
52 
54  uint8_t sched_type;
55 
57  uint8_t evt_op;
58 };
59 
62 
66  uint8_t eventdev_id;
67 
69  uint16_t port_id;
70 
72  uint16_t queue_id;
73 
75  uint32_t enq_burst_sz;
76 
78  uint8_t sched_type;
79 
81  uint8_t evt_op;
82 
84  uint32_t n_retries;
85 };
86 
89 
90 #ifdef __cplusplus
91 }
92 #endif
93 
94 #endif
struct rte_port_out_ops rte_port_eventdev_writer_ops
struct rte_port_out_ops rte_port_eventdev_writer_nodrop_ops
struct rte_port_in_ops rte_port_eventdev_reader_ops