DPDK  24.03.0-rc1
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 
26 #include <stdint.h>
27 
28 #include "rte_port.h"
29 
33  struct rte_ring *ring;
34 };
35 
38 
42  struct rte_ring *ring;
43 
46  uint32_t tx_burst_sz;
47 };
48 
51 
55  struct rte_ring *ring;
56 
59  uint32_t tx_burst_sz;
60 
62  uint32_t n_retries;
63 };
64 
67 
69 #define rte_port_ring_multi_reader_params rte_port_ring_reader_params
70 
73 
75 #define rte_port_ring_multi_writer_params rte_port_ring_writer_params
76 
79 
81 #define rte_port_ring_multi_writer_nodrop_params \
82  rte_port_ring_writer_nodrop_params
83 
86 
87 #ifdef __cplusplus
88 }
89 #endif
90 
91 #endif
struct rte_port_out_ops rte_port_ring_writer_nodrop_ops
struct rte_ring * ring
Definition: rte_port_ring.h:42
struct rte_port_in_ops rte_port_ring_reader_ops
struct rte_ring * ring
Definition: rte_port_ring.h:33
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