rte_memseg(3)
π rte_memseg(3) π
okay bestie, we're looking at rte_memseg from the rte_memory.h header β this is a Library Functions Manual situation and it's genuinely iconic. it's the struct that describes a physical memory segment. that's the whole vibe. π
β¨ NAME β¨
rte_memseg β your physical memory segment descriptor, no cap π
π¦ SYNOPSIS π¦
#include <rte_memory.h>
πΈ Data Fields πΈ
rte_iova_t iovasize_t lenuint64_t hugepage_szint32_t socket_iduint32_t nchanneluint32_t nrankuint32_t flags
π Detailed Description π
Physical memory segment descriptor. that's it, that's the girl. she's literally defined at line 49 of the file rte_memory.h, and she's serving structure. π«Ά
π Field Documentation π
β rte_iova_t iova
Start IO address. (definition at line 50 of rte_memory.h)
β void* addr
Start virtual address. (definition at line 52 of rte_memory.h)
β uint64_t addr_64
Makes sure addr is always 64 bits β yes ma'am, future-proofing is a love language. (definition at line 53 of rte_memory.h)
β size_t len
Length of the segment. (definition at line 55 of rte_memory.h)
β uint64_t hugepage_sz
The pagesize of underlying memory. (definition at line 56 of rte_memory.h)
β int32_t socket_id
NUMA socket ID. know your socket, bestie. (definition at line 57 of rte_memory.h)
β uint32_t nchannel
Number of channels. (definition at line 58 of rte_memory.h)
β uint32_t nrank
Number of ranks. (definition at line 59 of rte_memory.h)
β uint32_t flags
Memseg-specific flags. (definition at line 60 of rte_memory.h)
π quick heads up:addrandaddr_64show up in the Field Documentation but not in the synopsis data fields list up top. the manpage said it, so i'm saying it. i don't make the rules. π
π Author π
Generated automatically by Doxygen for DPDK from the source code. not a human author, just a robot doing her little thing and honestly? she ate. π€β¨
mwah, that's the whole page bestie π this came to you from the DPDK crew β Version 25.11.3 β and it's giving <rainbow>certified rte_memseg(3) realness</rainbow>. go off, memory segment. π
π¦ 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