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_ring
  • struct rte_mempool * mp
  • uint16_t * refill_head
  • uint16_t * receive_tail
  • uint16_t mbuf_ring_size
  • uint16_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