RTE_ETH_RECYCLE_RXQ_INFO(3)
π rte_eth_recycle_rxq_info π
okay bestie, welcome to the lil struct that does the mbuf recycling thing β¨ it's a 3 manpage, from the Library Functions Manual, and it's literally just... a vibe. a whole struct. let's get into it π«Ά
β¨ NAME β¨
rte_eth_recycle_rxq_info β the Ethernet Rx queue info struct for recycling mbufs, no cap π
πΈ SYNOPSIS πΈ
#include <rte_ethdev.h>
π Data Fields
struct rte_mbuf ** mbuf_ringstruct rte_mempool * mpuint16_t * refill_headuint16_t * receive_tailuint16_t mbuf_ring_sizeuint16_t refill_requirement
π¦ Detailed Description π¦
Warning β οΈ EXPERIMENTAL: this structure may change without prior notice. so do NOT get attached, babe β it can shapeshift on you at any moment π
so basically this is the Ethernet device Rx queue information structure for recycling mbufs. iconic. You use it to retrieve Rx queue information when a Tx queue is reusing mbufs and moving them over into the Rx mbuf ring. like a lil relay race but for packets πββοΈπ¨
Definition at line 1928 of file rte_ethdev.h.
π₯ Field Documentation π₯
π struct rte_mbuf** mbuf_ring
mbuf ring of Rx queue. the main character of the ring situation fr fr
Definition at line 1929 of file rte_ethdev.h.
π struct rte_mempool* mp
mempool of Rx queue. where the mbufs come from πΌ
Definition at line 1930 of file rte_ethdev.h.
π uint16_t* refill_head
head of Rx queue refilling mbufs.
Definition at line 1931 of file rte_ethdev.h.
π uint16_t* receive_tail
tail of Rx queue receiving pkts.
Definition at line 1932 of file rte_ethdev.h.
π uint16_t mbuf_ring_size
configured number of mbuf ring size. yes, the number of the size, it said what it said π
Definition at line 1933 of file rte_ethdev.h.
π uint16_t refill_requirement
Requirement on mbuf refilling batch size of Rx mbuf ring.
okay listen, this one's got β¨loreβ¨ β for some PMD drivers, the number of Rx mbuf ring refilling mbufs should be aligned with the mbuf ring size, so that ring wrapping around stays simple. Value 0 means that PMD drivers have no requirement for this β i.e. they're chill, no rules, go off ποΈ
Definition at line 1941 of file rte_ethdev.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. (the machine wrote it, not a human, which is honestly so slay of it) π€β¨
and that's the whole page bestie, you ate that read π mwah π«Ά
DPDK β Version 25.11.3 π that's the version and the source, and you already saw the date stamped on this bad boy up in the header. bye babes, go recycle some mbufs 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