rte_swx_port_in_ops(3)

✨ NAME ✨

rte_swx_port_in_ops β€” bestie, this is the input port operations struct from rte_swx_port.h, aka the little bundle of function pointers that tells the software switch pipeline how to do literally everything with an input port πŸ’–

It's a Library Functions Manual situation, page rte_swx_port_in_ops(3), and we're gonna walk through it together, no cap.


🌸 SYNOPSIS 🌸

#include <rte_swx_port.h>

πŸŽ€ Data Fields

  • rte_swx_port_in_create_t create
  • rte_swx_port_in_free_t free
  • rte_swx_port_in_pkt_rx_t pkt_rx
  • rte_swx_port_in_stats_read_t stats_read

πŸ¦‹ DETAILED DESCRIPTION πŸ¦‹

Okay so. This struct is Input port operations. That's the whole vibe. It's the ops table for an input port, periodt. πŸ’…

Definition at line 96 of file rte_swx_port.h.


πŸ‘‘ FIELD DOCUMENTATION πŸ‘‘

πŸ’œ rte_swx_port_in_create_t create

Create. Must be non-NULL. Like, genuinely β€” it's not optional, bestie, it has to be there.

Definition at line 98 of file rte_swx_port.h.

πŸ’œ rte_swx_port_in_free_t free

Free. Must be non-NULL. Also non-negotiable, fr fr.

Definition at line 101 of file rte_swx_port.h.

πŸ’œ rte_swx_port_in_pkt_rx_t pkt_rx

Packet reception. Must be non-NULL. The main character of the whole thing, honestly β€” this is where the packets actually show up. 🫢

Definition at line 104 of file rte_swx_port.h.

πŸ’œ rte_swx_port_in_stats_read_t stats_read

Statistics counters read. Must be non-NULL. Gotta get those numbers, always. ✨

Definition at line 107 of file rte_swx_port.h.

heads up bb: every single one of these four fields has to be non-NULL. All four. No skipping. It's giving "mandatory group project where everyone actually shows up". πŸ™ˆ

🌈 AUTHOR 🌈

Generated automatically by Doxygen for DPDK from the source code. So like, not a human author, a bot author, and honestly? Slay, Doxygen. πŸ€–πŸ’…


That's the whole page, bestie! πŸŽ€ This was DPDK, Version 25.11.3, and that's rte_swx_port_in_ops(3) β€” go forth and slay your input ports. I'm obsessed. Byeee πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from