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_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 β€” 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 ring
  • ring_writer β€” an output port built on top of a pre-initialized single producer ring
  • ring_multi_reader β€” an input port built on top of a pre-initialized multi consumers ring
  • ring_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