rte_port_ethdev.h(3)

πŸ’– rte_port_ethdev.h πŸ’–

okay bestie, welcome to the rte_port_ethdev.h manual page, straight out of the Library Functions Manual πŸŽ€ this one's all about port ops for ethernet devices and honestly? it's giving "small header, big main character energy" ✨


🌸 NAME 🌸

rte_port_ethdev.h β€” no cap, that's the whole name, she's lowkey mysterious like that πŸ¦‹


✨ SYNOPSIS ✨

so first you gotta pull in the goods:

#include <stdint.h>
#include 'rte_port.h'

🧚 Data Structures

these cuties right here:

  • struct rte_port_ethdev_reader_params
  • struct rte_port_ethdev_writer_params
  • struct rte_port_ethdev_writer_nodrop_params

πŸ‘‘ Variables

and these global icons:

  • struct rte_port_in_ops rte_port_ethdev_reader_ops
  • struct rte_port_out_ops rte_port_ethdev_writer_ops
  • struct rte_port_out_ops rte_port_ethdev_writer_nodrop_ops

πŸ’… Detailed Description πŸ’…

RTE Port Ethernet Device β€” periodt.

okay so here's the tea, fr fr:

  • ethdev_reader: an input port built on top of a pre-initialized NIC RX queue πŸ”₯
  • ethdev_writer: an output port built on top of a pre-initialized NIC TX queue πŸ”₯
Definition in file rte_port_ethdev.h. that's where she lives 🏠

🫢 Variable Documentation 🫢

🌈 struct rte_port_in_ops rte_port_ethdev_reader_ops [extern]

ethdev_reader port operations. literally her whole job πŸ’–

⭐ struct rte_port_out_ops rte_port_ethdev_writer_ops [extern]

ethdev_writer port operations. iconic behaviour only ✨

πŸ¦‹ struct rte_port_out_ops rte_port_ethdev_writer_nodrop_ops [extern]

ethdev_writer_nodrop port operations. the no-drop queen, we stan πŸ‘‘


πŸŽ€ Author πŸŽ€

Generated automatically by Doxygen for DPDK from the source code. not me getting auto-generated 😭 she wrote herself, that's so main character of her 🧚


πŸ’œ and that's the whole page bestie, hope this was useful!! mwah πŸ’‹ this was DPDK, Version 25.11.3, and the page is rte_port_ethdev.h(3). catch you in the next man page, slay responsibly πŸŒΈπŸ’–βœ¨

πŸ“¦ where this page comes from