DPDK  20.05.0-rc0
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 
23 #include <stdint.h>
24 #include <rte_eventdev.h>
25 
26 #include "rte_port.h"
27 
31  uint8_t eventdev_id;
32 
34  uint8_t port_id;
35 };
36 
39 
43  uint8_t eventdev_id;
44 
46  uint8_t port_id;
47 
49  uint8_t queue_id;
50 
52  uint32_t enq_burst_sz;
53 
55  uint8_t sched_type;
56 
58  uint8_t evt_op;
59 };
60 
63 
67  uint8_t eventdev_id;
68 
70  uint16_t port_id;
71 
73  uint16_t queue_id;
74 
76  uint32_t enq_burst_sz;
77 
79  uint8_t sched_type;
80 
82  uint8_t evt_op;
83 
85  uint32_t n_retries;
86 };
87 
90 
91 #ifdef __cplusplus
92 }
93 #endif
94 
95 #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