rte_port_fd.h(3)
π rte_port_fd.h π
okay bestie, welcome to the rte_port_fd.h page β that's the header from the Library Functions Manual, and it's literally all about the RTE Port FD Device. pull up a chair, we're getting into file-descriptor-based ports and it's giving very much "small header, big energy" β¨
πΈ NAME πΈ
rte_port_fd.h β no cap, that's the whole name, that's the whole vibe π«Ά
β¨ SYNOPSIS β¨
#include <stdint.h>
#include 'rte_port.h'
π Data Structures
struct rte_port_fd_reader_paramsstruct rte_port_fd_writer_paramsstruct rte_port_fd_writer_nodrop_params
π¦ Variables
struct rte_port_in_ops rte_port_fd_reader_opsstruct rte_port_out_ops rte_port_fd_writer_opsstruct rte_port_out_ops rte_port_fd_writer_nodrop_ops
three structs, three ops variables, perfectly balanced, as all things should be π
π Detailed Description π
RTE Port FD Device β that's the main character energy of this whole header fr fr.
fd_reader: an input port built on top of a valid non-blocking file descriptor π₯fd_writer: an output port built on top of a valid non-blocking file descriptor π₯
heads up bestie: both of those are built on a valid non-blocking file descriptor β that's literally the requirement, don't come at it with a blocking fd, it's not that girl π
Definition in file rte_port_fd.h.
β Variable Documentation β
π§ struct rte_port_in_ops rte_port_fd_reader_ops [extern]
fd_reader port operations π this is the ops struct for the reader side, periodt.
π struct rte_port_out_ops rte_port_fd_writer_ops [extern]
fd_writer port operations π the ops struct for the writer side, slay.
π struct rte_port_out_ops rte_port_fd_writer_nodrop_ops [extern]
fd_writer_nodrop port operations π the ops struct for the writer side that does not drop β iconic behaviour honestly.
π«Ά Author π«Ά
Generated automatically by Doxygen for DPDK from the source code. not me getting auto-generated by a documentation tool, lowkey relatable π
and that's the whole page, bestie β you ate it, no crumbs π this was DPDK Version 25.11.3, and we were reading rte_port_fd.h(3) the whole time. go forth and fd, mwah πβ¨
π¦ 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