rte_port_ring.h(3)
β¨ rte_port_ring.h β¨
okay bestie, welcome to the rte_port_ring.h glow-up π this is one of those Library Functions Manual pages (section 3, iykyk) from the DPDK fam, and it's literally all about wiring packet ports on top of pre-initialized rings. no cap, it's giving very much "plumbing but make it fashion." let's get into it π«Ά
πΈ NAME πΈ
rte_port_ring.h β the header that brings you ring-based ports, periodt.
π SYNOPSIS π
#include <stdint.h>
#include 'rte_port.h'
π« Data Structures
struct rte_port_ring_reader_paramsstruct rte_port_ring_writer_paramsstruct 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_opsstruct rte_port_out_ops rte_port_ring_writer_opsstruct rte_port_out_ops rte_port_ring_writer_nodrop_opsstruct rte_port_in_ops rte_port_ring_multi_reader_opsstruct rte_port_out_ops rte_port_ring_multi_writer_opsstruct rte_port_out_ops rte_port_ring_multi_writer_nodrop_ops
π Detailed Description π
RTE Port Ring β say it with your chest π
here's the whole vibe, four flavors of port, all built on top of rings you already set up yourself:
ring_readerβ an input port built on top of a pre-initialized single consumer ringring_writerβ an output port built on top of a pre-initialized single producer ringring_multi_readerβ an input port built on top of a pre-initialized multi consumers ringring_multi_writerβ an output port built on top of a 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 69 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 75 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 81 of file rte_port_ring.h.
π Variable Documentation π
π struct rte_port_in_ops rte_port_ring_reader_ops [extern]
ring_reader port operations β¨
π struct rte_port_out_ops rte_port_ring_writer_ops [extern]
ring_writer port operations β¨
π struct rte_port_out_ops rte_port_ring_writer_nodrop_ops [extern]
ring_writer_nodrop port operations β¨
π struct rte_port_in_ops rte_port_ring_multi_reader_ops [extern]
ring_multi_reader port operations β¨
π struct rte_port_out_ops rte_port_ring_multi_writer_ops [extern]
ring_multi_writer port operations β¨
π struct rte_port_out_ops rte_port_ring_multi_writer_nodrop_ops [extern]
ring_multi_writer_nodrop port operations β¨
π Author π
Generated automatically by Doxygen for DPDK from the source code. not me being a robot-authored masterpiece π iconic behavior fr fr.
okay that's the whole page bestie, you ate that πβ¨ this was DPDK, Version 25.11.3, and it's the rte_port_ring.h(3) page β go forth and ring responsibly π
π¦π
π¦ where this page comes from
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 Β· BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms