rte_eth_hairpin_cap(3)

πŸ’– rte_eth_hairpin_cap(3) πŸ’–

okay bestie, so this is a page from the DPDK manuals (that's section 3, library functions, iykyk) and it's all about this one lil struct called rte_eth_hairpin_cap. it lives in <rte_ethdev.h> and it's literally just a lil container that hands you back the hairpin capabilities your hardware is out here supporting. no cap.


✨ SYNOPSIS ✨

#include <rte_ethdev.h>

πŸŽ€ Data Fields πŸŽ€

here's everything stuffed inside the struct, bestie:

  • uint16_t max_nb_queues
  • uint16_t max_rx_2_tx
  • uint16_t max_tx_2_rx
  • uint16_t max_nb_desc
  • struct rte_eth_hairpin_queue_cap rx_cap
  • struct rte_eth_hairpin_queue_cap tx_cap

🌸 Detailed Description 🌸

⚠️ Warning β€” EXPERIMENTAL: this API may change, or be removed, without prior notice 😭 so like, do not get attached, she is not stable, she is giving "here for a good time not a long time" energy.

A structure used to return the hairpin capabilities that are supported.

Definition at line 1260 of file rte_ethdev.h.


πŸ¦‹ Field Documentation πŸ¦‹

uint16_t max_nb_queues</p>

The max number of hairpin queues (different bindings). πŸ‘‘

Definition at line 1262 of file rte_ethdev.h.


uint16_t max_rx_2_tx</p>

Max number of Rx queues to be connected to one Tx queue. like, one Tx queue is the main character and this many Rx queues can be linked up to her fr fr.

Definition at line 1264 of file rte_ethdev.h.


uint16_t max_tx_2_rx

Max number of Tx queues to be connected to one Rx queue. same vibe, opposite direction, slay.

Definition at line 1266 of file rte_ethdev.h.


uint16_t max_nb_desc

The max num of descriptors. ✨

Definition at line 1267 of file rte_ethdev.h.


struct rte_eth_hairpin_queue_cap rx_cap

Rx hairpin queue capabilities. πŸ’œ

Definition at line 1268 of file rte_ethdev.h.


struct rte_eth_hairpin_queue_cap tx_cap

Tx hairpin queue capabilities. πŸ”₯

Definition at line 1269 of file rte_ethdev.h.


πŸ’… Author πŸ’…

Generated automatically by Doxygen for DPDK from the source code. not a human, not a girlie, just a lil tool doing her thing 🫢


bestie we made it to the end πŸŽ€ this was pulled straight from DPDK, Version 25.11.3, and honestly? iconic. go read some code now, i'm obsessed with you πŸ’–βœ¨πŸ¦‹
πŸ“¦ where this page comes from