rte_memseg_list(3)
π NAME π
rte_memseg_list β bestie, this is a whole struct from the DPDK library functions manual, and she's kind of a big deal π
β¨ SYNOPSIS β¨
#include <rte_memory.h>
π Data Fields π
uint64_t page_szint socket_idvolatile uint32_t versionsize_t lenunsigned int externalunsigned int heap
ok so real talk: the synopsis list above is short on purpose, but the actual struct has two more members (base_vaandaddr_64) that show up down in Field Documentation. don't come for me, that's just how the page is written π
π¦ Detailed Description π¦
okay so here's the vibe: a memseg list is a special case, because we gotta store a whole bunch of other data together with the array itself. it's giving "main character who brings her entire friend group everywhere" β¨
Definition at line 67 of file rte_memory.h.
π₯ Field Documentation π₯
πΈ void* base_va
Base virtual address for this memseg list. like, where the whole thing lives in virtual memory π
Definition at line 69 of file rte_memory.h.
πΈ uint64_t addr_64
Makes sure addr is always 64-bits. no cap, it just keeps things chunky and consistent πͺ
Definition at line 71 of file rte_memory.h.
πΈ uint64_t page_sz
Page size for all the memsegs in this list. one size fits all, periodt π
Definition at line 74 of file rte_memory.h.
πΈ int socket_id
Socket ID for all the memsegs in this list. everyone's on the same socket, no stragglers π«Ά
Definition at line 75 of file rte_memory.h.
πΈ volatile uint32_t version
Version number for multiprocess sync. yes she's volatile, she's got a lot going on π
Definition at line 76 of file rte_memory.h.
πΈ size_t len
Length of the memory area covered by this memseg list. how much she eats, basically π
Definition at line 77 of file rte_memory.h.
πΈ unsigned int external
1 if this list points to external memory π
Definition at line 78 of file rte_memory.h.
πΈ unsigned int heap
1 if this list points to a heap. (and no, not the data-structure kind of discourse, we're not doing that today π)
Definition at line 79 of file rte_memory.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. not a human author, just a robot doing her little tasks, and honestly? she ate π€β¨
π§ that's the whole page, bestie β nothing skipped, nothing invented, every field and every Definition at line NN of file rte_memory.h. present and accounted for π
mwah π this cutie came to you straight from DPDK, Version 26.03.0, on the rte_memseg_list(3) page β go forth and memseg responsibly π
π¦ 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