rte_mempoo...range_info(3)
β¨ NAME β¨
okay so bestie, gather round β this is the manual page for rte_mempool_mem_range_info π
(the header up top calls it rte_mempoo...range_info(3), which is just the truncated vibe of the same thing, no cap). It's a Library Functions Manual entry, and it's literally all about one cute little struct that tells you stuff about the memory range your mempool uses β¨
πΈ SYNOPSIS πΈ
First things first, you gotta bring in the header:
#include <rte_mempool.h>
π Data Fields
here's the squad, the three fields, in order:
void * startsize_t lengthbool is_contiguous
periodt. that's the whole struct π«Ά
π¦ Detailed Description π¦
okay so this is a structure used to retrieve information about the memory range of the mempool β¨ that's the whole job. Like, it's the little info card you fill out so you know what's going on with your mempool's memory range. iconic behaviour honestly.
it's defined at line 1909 of file rte_mempool.h β yes, in the actual source, go look, iykyk π
π Field Documentation π
β void* start
Start of the memory range used by mempool objects β like, where the memory range begins, literally the starting line π
Definition at line 1911 of file rte_mempool.h.
β size_t length
Length of the memory range used by mempool objects β how long the range is. the math is mathing π
Definition at line 1913 of file rte_mempool.h.
β bool is_contiguous
Are all memory addresses used by mempool objects contiguous β a lil yes/no situation: are all the memory addresses used by the mempool objects back-to-back and contiguous, or are they scattered? it's giving bool, so: true or false, bestie π
Definition at line 1915 of file rte_mempool.h.
π Author
Generated automatically by Doxygen for DPDK from the source code. not a human, a robot did this, and honestly? slay π€π
ngl bestie, all of this lives in rte_mempool.h β lines 1909, 1911, 1913 and 1915 β so if you ever need to double-check, that's where the receipts are π§Ύπ
and that's a wrap! this page is from DPDK, Version 26.03.0, and it's the rte_mempoo...range_info(3) page β so cute, so documented, we're obsessed πβ¨π
π¦ where this page comes from
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms