DPDK: Data Plane Development Kit

18.02.0-rc0
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 101 of file rte_port_ring.h.

#define rte_port_ring_multi_writer_params   rte_port_ring_writer_params

ring_multi_writer port parameters

Examples:
examples/ip_pipeline/init.c.

Definition at line 107 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

Examples:
examples/ip_pipeline/init.c.

Definition at line 113 of file rte_port_ring.h.

Variable Documentation

struct rte_port_in_ops rte_port_ring_reader_ops

ring_reader port operations

struct rte_port_out_ops rte_port_ring_writer_ops

ring_writer port operations

struct rte_port_out_ops rte_port_ring_writer_nodrop_ops

ring_writer_nodrop port operations

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