rte_eth_rxq_info(3)
π rte_eth_rxq_info π
okay bestie, gather round, because today we're getting to know rte_eth_rxq_info β a lil' struct from the DPDK library gang (it lives in the Library Functions Manual, iykyk) whose entire job is telling you what's up with an Ethernet device's Rx queue. No cap. π
β¨ NAME β¨
rte_eth_rxq_info β the Rx queue info structure, and yes she's the main character π
πΈ SYNOPSIS πΈ
#include <rte_ethdev.h>
π¦ Data Fields π¦
struct rte_mempool * mpstruct rte_eth_rxconf confuint8_t scattered_rxuint8_t queue_stateuint16_t nb_descuint16_t rx_buf_sizeuint8_t avail_thresh
π Detailed Description π
It's givingβ¦ Ethernet device Rx queue information structure. That's literally her whole thing. You use her to retrieve info about a queue that's already been configured. She's not here to set anything up, she's here to report, and honestly? Respect. π
Definition at line 1894 of file rte_ethdev.h.
π Field Documentation π
π struct rte_mempool* mp
the mempool that this queue is using, fr fr.
Definition at line 1895 of file rte_ethdev.h.
π struct rte_eth_rxconf conf
the queue's config parameters. all the settings, all the vibes. β¨
Definition at line 1896 of file rte_ethdev.h.
π uint8_t scattered_rx
whether scattered packet Rx is supported. if packets are out here living their fragmented truth, this is the field that tells you. π§
Definition at line 1897 of file rte_ethdev.h.
π uint8_t queue_state
one of the RTE_ETH_QUEUE_STATE_* values. that's it, that's the whole description, she's mysterious like that π
Definition at line 1898 of file rte_ethdev.h.
π uint16_t nb_desc
the configured number of RXDs. RXD count, locked in. π₯
Definition at line 1899 of file rte_ethdev.h.
π uint16_t rx_buf_size
the hardware receive buffer size. hardware-level, no middleman. πͺ
Definition at line 1900 of file rte_ethdev.h.
π uint8_t avail_thresh
okay this one has LORE bestie, listen up π«Ά
Available Rx descriptors threshold, defined as a percentage of the Rx queue size. If the number of available descriptors drops lower than that, the event RTE_ETH_EVENT_RX_AVAIL_THESH gets generated β so it's basically a lil' bat signal for "hey, we're running low on descriptors over here."
and a value of 0 means the threshold monitoring is disabled. zero, off, nothing, nada. don't come crying when no event fires, because you turned it off yourself. π
Definition at line 1907 of file rte_ethdev.h.
π«Ά Author π«Ά
This whole thing was generated automatically by Doxygen for DPDK, straight from the source code. no human hands touched it, she was born from the machine πΈβ¨
and that's the whole page bestie, you ate that reading session, periodt π
this lil' manual page came to you courtesy of DPDK, Version 25.11.3 β stay hydrated, read your headers, and stream rte_ethdev.h responsibly π¦π
π¦ 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