rte_eth_rxq_info(3)

πŸ“¦ version 26.03, in nixos 26.05, nixpkgs unstable

πŸ’– NAME πŸ’–

rte_eth_rxq_info β€” bestie, this is the Rx queue info struct, and it's literally the receipts for your configured queue πŸ‘‘


✨ SYNOPSIS ✨

#include <rte_ethdev.h>

πŸŽ€ Data Fields πŸŽ€

struct rte_mempool * mp
struct rte_eth_rxconf conf
uint8_t scattered_rx
uint8_t queue_state
uint16_t nb_desc
uint16_t rx_buf_size
uint8_t avail_thresh

πŸ¦‹ Detailed Description πŸ¦‹

okay so this is the Ethernet device Rx queue information structure. it's the one you use to retrieve information about a configured queue β€” like, the queue already exists, you just wanna know what it's giving πŸ’…

Definition at line 1894 of file rte_ethdev.h.


🌸 Field Documentation 🌸

πŸ’œ struct rte_mempool* mp

the mempool used by that queue. that's where the packets come from, no cap.

Definition at line 1895 of file rte_ethdev.h.

πŸ’œ struct rte_eth_rxconf conf

queue config parameters. the whole vibe of how the queue is set up.

Definition at line 1896 of file rte_ethdev.h.

πŸ’œ uint8_t scattered_rx

scattered packets Rx supported. yup, it can do the scattered thing πŸ¦‹

Definition at line 1897 of file rte_ethdev.h.

πŸ’œ uint8_t queue_state

one of RTE_ETH_QUEUE_STATE_*. pick your character ✨

Definition at line 1898 of file rte_ethdev.h.

πŸ’œ uint16_t nb_desc

configured number of RXDs. that's the descriptor count, periodt.

Definition at line 1899 of file rte_ethdev.h.

πŸ’œ uint16_t rx_buf_size

hardware receive buffer size. the hardware's own little buffer πŸŽ€

Definition at line 1900 of file rte_ethdev.h.

πŸ’œ uint8_t avail_thresh

Available Rx descriptors threshold defined as percentage of Rx queue size. If number of available descriptors is lower, the event RTE_ETH_EVENT_RX_AVAIL_THESH is generated. Value 0 means that the threshold monitoring is disabled.

⚠️ heads up bestie, the event name in the source is spelled RTE_ETH_EVENT_RX_AVAIL_THESH β€” yes, with the THESH, that's not me, that's canon, copy it exactly πŸ™ˆ

Definition at line 1907 of file rte_ethdev.h.


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. not a human, just a robot doing its little thing πŸ€–πŸ’–


and that's the whole page bestie, slay 🫢 this gem dropped with DPDK, Version 26.03.0 β€” go read the source, ily, bye πŸ’…βœ¨

πŸ“¦ where this page comes from