rte_mempool_objsz(3)

✨ rte_mempool_objsz ✨

okay bestie, welcome to the <rte_mempool.h> cinematic universe πŸ’– this is a page from the Library Functions Manual β€” section 3, iykyk. It's giving "little struct, huge main character energy" and honestly? Obsessed.


🌸 NAME 🌸

rte_mempool_objsz β€” no cap, that's the whole name, that's the vibe πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

#include <rte_mempool.h>

πŸ¦‹ Data Fields

  • uint32_t elt_size
  • uint32_t header_size
  • uint32_t trailer_size
  • uint32_t total_size

πŸ’œ Detailed Description πŸ’œ

So like. This is a structure that stores the size of mempool elements πŸ’– That's the whole job. That's the assignment and she ATE.

Also (and this is important, don't skip it): Maximum length of a memory pool's name.

fr fr, that line is in there, I'm not making it up β€” it's part of this description block, periodt.

Definition at line 119 of file rte_mempool.h. πŸ“


πŸ”₯ Field Documentation πŸ”₯

⭐ uint32_t elt_size

Size of an element. Just the element itself, nothing extra, she's uncomplicated like that 🫢

Definition at line 120 of file rte_mempool.h. πŸ“

⭐ uint32_t header_size

Size of header (before elt). It comes before the element, bestie β€” the little pre-game πŸŽ€

Definition at line 121 of file rte_mempool.h. πŸ“

⭐ uint32_t trailer_size

Size of trailer (after elt). And this one comes after the element, the lil outro, the closing credits 🌈

Definition at line 122 of file rte_mempool.h. πŸ“

⭐ uint32_t total_size

Total size of an object (header + elt + trailer). Yes she's the full package, the math is literally right there πŸ‘‘

Definition at line 123 of file rte_mempool.h. πŸ“


πŸ‘‘ Author πŸ‘‘

<t>Generated automatically by Doxygen for DPDK from the source code.</t> So like, no human wrote this, a tool did, and she still served absolute looks πŸ˜­πŸ’…


and that's the whole page, bestie!! Sending you off with the official sign-off: this was brought to you by DPDK, Version 25.11.3, and the manual page rte_mempool_objsz(3) β€” go forth and size your objects correctly, mwah πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from