rte_swx_port_out_ops(3)
β¨ rte_swx_port_out_ops β¨
okay bestie, so this one is a page from the Library Functions Manual β it's rte_swx_port_out_ops(3), and ngl it's kind of a banger because it's literally the entire personality of an output port in one little struct π
πΈ NAME πΈ
rte_swx_port_out_ops β the operation table for output ports, aka the whole job description of "how do I send packets out of here" π€
π SYNOPSIS π
#include <rte_swx_port.h>
π Data Fields
rte_swx_port_out_create_t create
rte_swx_port_out_free_t free
rte_swx_port_out_pkt_tx_t pkt_tx
rte_swx_port_out_pkt_fast_clone_tx_t pkt_fast_clone_tx
rte_swx_port_out_pkt_clone_tx_t pkt_clone_tx
rte_swx_port_out_flush_t flush
rte_swx_port_out_stats_read_t stats_read
π Detailed Description π
Output port operations. That's it, that's the vibe β a bundle of function pointers that tell the software switch pipeline how to bring an output port into existence, shove packets through it, copy packets on the way, drain what's left, and report the receipts π
Definition at line 216 of file rte_swx_port.h.
π Field Documentation π
π¦ rte_swx_port_out_create_t create
Create. Must be non-NULL. no create, no port, no party π βοΈ
Definition at line 218 of file rte_swx_port.h.
π¦ rte_swx_port_out_free_t free
Free. Must be non-NULL. what goes up must be cleaned up, bestie π§Ή
Definition at line 221 of file rte_swx_port.h.
π¦ rte_swx_port_out_pkt_tx_t pkt_tx
Packet transmission. Must be non-NULL. this is the main character β the actual sending of packets, periodt π¨
Definition at line 224 of file rte_swx_port.h.
π¦ rte_swx_port_out_pkt_fast_clone_tx_t pkt_fast_clone_tx
Packet fast clone and transmission. Must be non-NULL. clone it quick and yeet it out, the speedy edition β‘
Definition at line 227 of file rte_swx_port.h.
π¦ rte_swx_port_out_pkt_clone_tx_t pkt_clone_tx
Packet clone and transmission. Must be non-NULL. same energy as the fast one, just not in a rush π’
Definition at line 230 of file rte_swx_port.h.
π¦ rte_swx_port_out_flush_t flush
Flush. May be NULL. the chill one, the optional one, the "only if you feel like it" one π«Ά
Definition at line 233 of file rte_swx_port.h.
π¦ rte_swx_port_out_stats_read_t stats_read
Statistics counters read. Must be non-NULL. you will tell me the numbers, no gatekeeping π’
Definition at line 236 of file rte_swx_port.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. so technically a robot wrote it, but I'm the one giving it the glow-up π
okay that's the whole page, and for the sign-off: this icon was cooked up by DPDK, Version 25.11.3 β she's serving rte_swx_port_out_ops(3) and honestly? obsessed β¨ππ¦π
π¦ 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