rte_mempool_objsz(3)

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

πŸ’… rte_mempool_objsz(3) β€” the Library Functions Manual one, bestie

okay so sitting down to read this one at your big-girl terminal? periodt. this is rte_mempool_objsz, and it's genuinely just a lil struct that holds the sizes of mempool elements. that's the whole vibe. no cap.


✨ NAME ✨

rte_mempool_objsz β€” literally the struct that keeps the size receipts for mempool elements πŸ’–


🌸 SYNOPSIS 🌸

#include <rte_mempool.h>

πŸŽ€ Data Fields

here's the whole cast, no gatekeeping:

uint32_t elt_size
uint32_t header_size
uint32_t trailer_size
uint32_t total_size

πŸ¦‹ Detailed Description πŸ¦‹

so, mimi, what we have here is a structure that stores the size of mempool elements. that's it, that's the whole job, and honestly? she ate. πŸ”₯

also living in this description is the line "Maximum length of a memory pool's name." β€” yes, bestie, we clocked it too, it's just vibing there in the same paragraph, and we're not gonna pretend it isn't. iykyk. πŸ™ˆ

lowkey iconic of the docs to just place it there. we keep it exactly as the source says it. πŸ’…

Definition at line 119 of file rte_mempool.h.


πŸ‘‘ Field Documentation πŸ‘‘

πŸ’œ uint32_t elt_size

size of an element. the main character of the whole struct ngl.

Definition at line 120 of file rte_mempool.h.

⭐ uint32_t header_size

size of header (before elt). the pre-game, the intro, the little warm-up before the element shows up. 🫢

Definition at line 121 of file rte_mempool.h.

πŸ“ uint32_t trailer_size

size of trailer (after elt). the outro, the outro music, the credits rolling. 🌈

Definition at line 122 of file rte_mempool.h.

🧚 uint32_t total_size

total size of an object (header + elt + trailer). the way that header plus elt plus trailer equals the whole thing β€” math ate and left no crumbs. πŸ”₯

Definition at line 123 of file rte_mempool.h.


🌈 Author 🌈

generated automatically by Doxygen for DPDK from the source code. so nobody hand-wrote this one, she was born machine-made and still served ✨


πŸ’€ that's the whole page bestie, no hidden bonus fields, no secret options, we told you everything fr fr.

okay bye, go forth and sizeof responsibly β€” DPDK, Version 26.03.0, signing off πŸŽ€πŸ’–

πŸ“¦ where this page comes from