DPDK  18.11.11
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 #include <rte_ring.h>
30 
31 #include "rte_port.h"
32 
36  struct rte_ring *ring;
37 };
38 
41 
45  struct rte_ring *ring;
46 
49  uint32_t tx_burst_sz;
50 };
51 
54 
58  struct rte_ring *ring;
59 
62  uint32_t tx_burst_sz;
63 
65  uint32_t n_retries;
66 };
67 
70 
72 #define rte_port_ring_multi_reader_params rte_port_ring_reader_params
73 
76 
78 #define rte_port_ring_multi_writer_params rte_port_ring_writer_params
79 
82 
84 #define rte_port_ring_multi_writer_nodrop_params \
85  rte_port_ring_writer_nodrop_params
86 
89 
90 #ifdef __cplusplus
91 }
92 #endif
93 
94 #endif
struct rte_port_out_ops rte_port_ring_writer_nodrop_ops
struct rte_ring * ring
Definition: rte_port_ring.h:45
struct rte_port_in_ops rte_port_ring_reader_ops
struct rte_ring * ring
Definition: rte_port_ring.h:36
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