rte_mempool_objhdr(3)
π rte_mempool_objhdr π
okay so bestie, welcome to the Library Functions Manual page for rte_mempool_objhdr(3) β yes that's the manual name, and yes we're gonna read the whole thing together, no skimming, I got you π«Ά
πΈ NAME πΈ
rte_mempool_objhdr β the header struct that lives right in front of every single object in your mempool β¨
π SYNOPSIS π
#include <rte_mempool.h>
π Public Member Functions
RTE_STAILQ_ENTRY (rte_mempool_objhdr) nextβ the linked-list hook so your objects can chain together.
π Data Fields
struct rte_mempool * mpβ the mempool that owns this object. its home, its ride-or-die πrte_iova_t iovaβ the IO address of the object π₯
π¦ Detailed Description π¦
It's a mempool object header structure, periodt. π
Every object stored in mempools is prefixed by this header structure β like, it literally sits in front of the object, main character positioning honestly π β and it lets you do two iconic things: retrieve the mempool pointer straight from the object, and iterate over all the objects attached to a mempool. π
When debug is enabled, a cookie is also added into this structure, preventing corruptions and double-frees. πͺ not a snack cookie bestie, a safety cookie, and it is SO important, do not come for it.
Definition at line 153 of file rte_mempool.h.
β¨ Member Function Documentation β¨
π RTE_STAILQ_ENTRY (rte_mempool_objhdr ) π
Next in list.
literally just: next in list. that's the whole vibe. π¦
π Field Documentation π
π struct rte_mempool* mp
The mempool owning the object. π«Ά
Definition at line 155 of file rte_mempool.h.
π rte_iova_t iova
IO address of the object. β
Definition at line 156 of file rte_mempool.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. no human wrote this, the machine did, and honestly? it ate. π€β¨
okay that's the whole page bestie, you understood ALL of it, i'm so proud of you ππ
Cute little sign-off for the record: this was DPDK, Version 25.11.3, and the page is rte_mempool_objhdr(3). slay, go forth and iterate your mempool objects 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