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