DPDK  20.05.0
Data Structures | Macros | Variables
rte_port_ring.h File Reference
#include <stdint.h>
#include <rte_ring.h>
#include "rte_port.h"

Go to the source code of this file.

Data Structures

struct  rte_port_ring_reader_params
 
struct  rte_port_ring_writer_params
 
struct  rte_port_ring_writer_nodrop_params
 

Macros

#define rte_port_ring_multi_reader_params   rte_port_ring_reader_params
 
#define rte_port_ring_multi_writer_params   rte_port_ring_writer_params
 
#define rte_port_ring_multi_writer_nodrop_params   rte_port_ring_writer_nodrop_params
 

Variables

struct rte_port_in_ops rte_port_ring_reader_ops
 
struct rte_port_out_ops rte_port_ring_writer_ops
 
struct rte_port_out_ops rte_port_ring_writer_nodrop_ops
 
struct rte_port_in_ops rte_port_ring_multi_reader_ops
 
struct rte_port_out_ops rte_port_ring_multi_writer_ops
 
struct rte_port_out_ops rte_port_ring_multi_writer_nodrop_ops
 

Detailed Description

RTE Port Ring

ring_reader: input port built on top of pre-initialized single consumer ring ring_writer: output port built on top of pre-initialized single producer ring ring_multi_reader: input port built on top of pre-initialized multi consumers ring ring_multi_writer: output port built on top of pre-initialized multi producers ring

Definition in file rte_port_ring.h.

Macro Definition Documentation

#define rte_port_ring_multi_reader_params   rte_port_ring_reader_params

ring_multi_reader port parameters

Definition at line 72 of file rte_port_ring.h.

#define rte_port_ring_multi_writer_params   rte_port_ring_writer_params

ring_multi_writer port parameters

Definition at line 78 of file rte_port_ring.h.

#define rte_port_ring_multi_writer_nodrop_params   rte_port_ring_writer_nodrop_params

ring_multi_writer_nodrop port parameters

Definition at line 84 of file rte_port_ring.h.

Variable Documentation

struct rte_port_in_ops rte_port_ring_reader_ops

ring_reader port operations

Examples:
examples/ip_pipeline/pipeline.c.
struct rte_port_out_ops rte_port_ring_writer_ops

ring_writer port operations

Examples:
examples/ip_pipeline/pipeline.c.
struct rte_port_out_ops rte_port_ring_writer_nodrop_ops

ring_writer_nodrop port operations

Examples:
examples/ip_pipeline/pipeline.c.
struct rte_port_in_ops rte_port_ring_multi_reader_ops

ring_multi_reader port operations

struct rte_port_out_ops rte_port_ring_multi_writer_ops

ring_multi_writer port operations

struct rte_port_out_ops rte_port_ring_multi_writer_nodrop_ops

ring_multi_writer_nodrop port operations