DPDK  22.07.0
rte_port_ring.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2010-2014 Intel Corporation
3  */
4 
5 #ifndef __INCLUDE_RTE_PORT_RING_H__
6 #define __INCLUDE_RTE_PORT_RING_H__
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
27 #include <stdint.h>
28 
29 
30 #include "rte_port.h"
31 
35  struct rte_ring *ring;
36 };
37 
40 
44  struct rte_ring *ring;
45 
48  uint32_t tx_burst_sz;
49 };
50 
53 
57  struct rte_ring *ring;
58 
61  uint32_t tx_burst_sz;
62 
64  uint32_t n_retries;
65 };
66 
69 
71 #define rte_port_ring_multi_reader_params rte_port_ring_reader_params
72 
75 
77 #define rte_port_ring_multi_writer_params rte_port_ring_writer_params
78 
81 
83 #define rte_port_ring_multi_writer_nodrop_params \
84  rte_port_ring_writer_nodrop_params
85 
88 
89 #ifdef __cplusplus
90 }
91 #endif
92 
93 #endif
struct rte_port_out_ops rte_port_ring_writer_nodrop_ops
struct rte_ring * ring
Definition: rte_port_ring.h:44
struct rte_port_in_ops rte_port_ring_reader_ops
struct rte_ring * ring
Definition: rte_port_ring.h:35
struct rte_port_out_ops rte_port_ring_writer_ops
struct rte_port_out_ops rte_port_ring_multi_writer_ops
struct rte_port_out_ops rte_port_ring_multi_writer_nodrop_ops
struct rte_port_in_ops rte_port_ring_multi_reader_ops