DPDK
19.11.14
lib
librte_port
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
12
#ifndef ARRAY_SIZE
13
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
14
#endif
15
27
#include <stdint.h>
28
#include <
rte_eventdev.h
>
29
30
#include "
rte_port.h
"
31
33
struct
rte_port_eventdev_reader_params
{
35
uint8_t
eventdev_id
;
36
38
uint8_t
port_id
;
39
};
40
42
extern
struct
rte_port_in_ops
rte_port_eventdev_reader_ops
;
43
45
struct
rte_port_eventdev_writer_params
{
47
uint8_t
eventdev_id
;
48
50
uint8_t
port_id
;
51
53
uint8_t
queue_id
;
54
56
uint32_t
enq_burst_sz
;
57
59
uint8_t
sched_type
;
60
62
uint8_t
evt_op
;
63
};
64
66
extern
struct
rte_port_out_ops
rte_port_eventdev_writer_ops
;
67
69
struct
rte_port_eventdev_writer_nodrop_params
{
71
uint8_t
eventdev_id
;
72
74
uint16_t
port_id
;
75
77
uint16_t
queue_id
;
78
80
uint32_t
enq_burst_sz
;
81
83
uint8_t
sched_type
;
84
86
uint8_t
evt_op
;
87
89
uint32_t
n_retries
;
90
};
91
93
extern
struct
rte_port_out_ops
rte_port_eventdev_writer_nodrop_ops
;
94
95
#ifdef __cplusplus
96
}
97
#endif
98
99
#endif
rte_port_eventdev_writer_params
Definition:
rte_port_eventdev.h:45
rte_port_eventdev_writer_params::sched_type
uint8_t sched_type
Definition:
rte_port_eventdev.h:59
rte_port_eventdev_writer_ops
struct rte_port_out_ops rte_port_eventdev_writer_ops
rte_port_eventdev_writer_nodrop_params::eventdev_id
uint8_t eventdev_id
Definition:
rte_port_eventdev.h:71
rte_port_out_ops
Definition:
rte_port.h:221
rte_eventdev.h
rte_port_eventdev_writer_nodrop_params
Definition:
rte_port_eventdev.h:69
rte_port_eventdev_writer_nodrop_ops
struct rte_port_out_ops rte_port_eventdev_writer_nodrop_ops
rte_port_eventdev_writer_params::eventdev_id
uint8_t eventdev_id
Definition:
rte_port_eventdev.h:47
rte_port_eventdev_writer_params::enq_burst_sz
uint32_t enq_burst_sz
Definition:
rte_port_eventdev.h:56
rte_port_eventdev_writer_params::queue_id
uint8_t queue_id
Definition:
rte_port_eventdev.h:53
rte_port_eventdev_writer_nodrop_params::enq_burst_sz
uint32_t enq_burst_sz
Definition:
rte_port_eventdev.h:80
rte_port.h
rte_port_eventdev_writer_params::evt_op
uint8_t evt_op
Definition:
rte_port_eventdev.h:62
rte_port_in_ops
Definition:
rte_port.h:119
rte_port_eventdev_reader_ops
struct rte_port_in_ops rte_port_eventdev_reader_ops
rte_port_eventdev_writer_nodrop_params::queue_id
uint16_t queue_id
Definition:
rte_port_eventdev.h:77
rte_port_eventdev_writer_nodrop_params::n_retries
uint32_t n_retries
Definition:
rte_port_eventdev.h:89
rte_port_eventdev_writer_nodrop_params::port_id
uint16_t port_id
Definition:
rte_port_eventdev.h:74
rte_port_eventdev_writer_nodrop_params::evt_op
uint8_t evt_op
Definition:
rte_port_eventdev.h:86
rte_port_eventdev_reader_params::port_id
uint8_t port_id
Definition:
rte_port_eventdev.h:38
rte_port_eventdev_writer_params::port_id
uint8_t port_id
Definition:
rte_port_eventdev.h:50
rte_port_eventdev_writer_nodrop_params::sched_type
uint8_t sched_type
Definition:
rte_port_eventdev.h:83
rte_port_eventdev_reader_params
Definition:
rte_port_eventdev.h:33
rte_port_eventdev_reader_params::eventdev_id
uint8_t eventdev_id
Definition:
rte_port_eventdev.h:35
Generated by
1.8.13