REFILL_REQUIREMENT(3)

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

πŸ’… rte_eth_recycle_rxq_info (3) β€” the glow-up edition πŸŽ€

okay bestie, so this whole page is about rte_eth_recycle_rxq_info β€” that's our main character β€” and it lives in the 3 man section (Library Functions Manual, for the uninitiated ✨). Sit down, grab a strawberry drink, and let's get into it πŸ“


✨ NAME ✨

rte_eth_recycle_rxq_info β€” no cap, that's the whole name, that's her πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

First thing you gotta do, literally always, is pull in the header:

#include <rte_ethdev.h>

🌸 Data Fields 🌸

Here's the squad, the whole struct lineup:

  • 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 like… don't get too attached, she's still evolving 😭

Right so, this structure is Ethernet device Rx queue information for recycling mbufs. Used to retrieve Rx queue information when the Tx queue is reusing mbufs and moving them into the Rx mbuf ring. Very much the "hand it back, we're reusing it" situation 🫢

Definition at line 1928 of file rte_ethdev.h.


🧚 Field Documentation πŸ’œ

πŸ’– struct rte_mbuf** mbuf_ring

mbuf ring of Rx queue.

Definition at line 1929 of file rte_ethdev.h.

🩷 struct rte_mempool* mp

mempool of Rx queue.

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.

Definition at line 1933 of file rte_ethdev.h.

πŸ”₯ uint16_t refill_requirement

Requirement on mbuf refilling batch size of Rx mbuf ring. So like, for some PMD drivers, the number of Rx mbuf ring refilling mbufs should be aligned with mbuf ring size, in order to simplify ring wrapping around. And a value of 0 means that PMD drivers have no requirement for this β€” zero means "do whatever, bestie" πŸ’…

Definition at line 1941 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 robot thing πŸ€–βœ¨


and that's the whole page, bestie β€” ily, go forth and recycle those mbufs responsibly πŸ§šβ€β™€οΈ

sign-off szn: this iconic little page is from DPDK, Version 26.03.0, filed under rte_eth_recycle_rxq_info(3) β€” mwah, periodt πŸ’‹

πŸ“¦ where this page comes from