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_params
  • struct rte_port_eventdev_writer_params
  • struct rte_port_eventdev_writer_nodrop_params

🌈 Variables

And three exported ops bundles, serving looks:

  • struct rte_port_in_ops rte_port_eventdev_reader_ops
  • struct rte_port_out_ops rte_port_eventdev_writer_ops
  • struct 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