rte_port_eventdev.h(3)
π rte_port_eventdev.h β Library Functions Manual, section 3 π
okay bestie, sit down, hydrate, and let's talk about rte_port_eventdev.h β it's a DPDK header, it lives in section 3 of the manual (the library-functions girlies), and it's honestly giving backstage-pass energy for the eventdev port world. π
β¨ NAME β¨
rte_port_eventdev.h β that's it, that's the name, no notes. π
π¦ SYNOPSIS π¦
Pull it in like this, exactly like this:
#include <stdint.h>
#include <rte_eventdev.h>
#include 'rte_port.h'
(and yes, the single quotes around rte_port.h are literally what's in the source, don't come for me π)
πΈ Data Structures
Three little structs, all iconic, all in their own lane:
struct rte_port_eventdev_reader_paramsstruct rte_port_eventdev_writer_paramsstruct rte_port_eventdev_writer_nodrop_params
π Variables
And three exported ops bundles, serving looks:
struct rte_port_in_ops rte_port_eventdev_reader_opsstruct rte_port_out_ops rte_port_eventdev_writer_opsstruct rte_port_out_ops rte_port_eventdev_writer_nodrop_ops
π§ Detailed Description π§
RTE Port Eventdev Interface β say it with your chest. π
So the whole vibe here is: you already have an eventdev interface pre-initialized, and these ports just vibe on top of it. Two flavours, and they're both main characters:
eventdev_readerβ an input port built on top of a pre-initialized eventdev interface.eventdev_writerβ an output port built on top of a pre-initialized eventdev interface.
<span>Definition in file rte_port_eventdev.h.</span> (iykyk, that's where the magic literally lives β¨)
ngl, the "pre-initialized" part is doing a lot of heavy lifting in that sentence. That eventdev interface? Already initialized. By you. Not by this header. Just so we're clear, bestie. π
π Variable Documentation π
β struct rte_port_in_ops rte_port_eventdev_reader_ops [extern]
Eventdev_reader port operations. π«Ά The input-side ops bundle, out here doing input-port things.
β struct rte_port_out_ops rte_port_eventdev_writer_ops [extern]
Eventdev_writer port operations. π The output-side ops bundle, no-drop-free, just vibing.
β struct rte_port_out_ops rte_port_eventdev_writer_nodrop_ops [extern]
Eventdev_writer_nodrop port operations. π₯ The output-side ops bundle again, but the nodrop one β different name, different ops, we do not merge these, periodt.
π Author π
Generated automatically by Doxygen for DPDK from the source code. So nobody wrote this with their own two hands β the robot did it, and honestly? it ate. π€β¨
<div style="text-align:center">πΈ π π¦ π πΈ</div>
and that's the whole page, bestie! this bad boy is from DPDK, Version 25.11.3, and it's the rte_port_eventdev.h(3) manual page. go forth, build your ports, slay, and remember: pre-initialize that eventdev first. ππ
π«Ά
π¦ 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