rte_memseg(3)
okay so this is the Library Functions Manual page for rte_memseg(3) β bestie, we're in the struct-lore corner of DPDK and it's giving documentation realness. π
β¨
πΈ NAME πΈ
rte_memseg β the physical memory segment descriptor. That's her. Main character struct energy, 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 π
This struct is a physical memory segment descriptor β literally the description of a physical memory segment, periodt. π«Ά
Source check: Definition at line 49 of file rte_memory.h.
π Field Documentation π
πΈ rte_iova_t iova πΈ
Start IO address. That's the IO starting point, bestie β don't lose it. π«Ά
Definition: Definition at line 50 of file rte_memory.h.
π¦ void* addr π¦
Start virtual address. The virtual-address starting point, slay. β¨
Definition: Definition at line 52 of file rte_memory.h.
π uint64_t addr_64 π
Makes sure addr is always 64 bits β yes, the addr_64 field is doing 64-bit security detail. π
Definition: Definition at line 53 of file rte_memory.h.
π size_t len π
Length of the segment. It's giving measurement, it's giving size, it's giving len. π
Definition: Definition at line 55 of file rte_memory.h.
π uint64_t hugepage_sz π
The pagesize of underlying memory β hugepage size info, iconic.
Definition: Definition at line 56 of file rte_memory.h.
π int32_t socket_id π
NUMA socket ID. Socket identification, no drama. π«Ά
Definition: Definition at line 57 of file rte_memory.h.
π§ uint32_t nchannel π§
Number of channels. Count them, bestie. β¨
Definition: Definition at line 58 of file rte_memory.h.
β uint32_t nrank β
Number of ranks. Rank number, periodt. π
Definition: Definition at line 59 of file rte_memory.h.
π uint32_t flags π
Memseg-specific flags. The flags that belong to the memseg vibe. π
Definition: Definition at line 60 of file rte_memory.h.
π AUTHOR π
Generated automatically by Doxygen for DPDK from the source code. So yes, the docs machine wrote this one β automated author moment, lowkey iconic. π€π
DPDK Version 26.03.0 β mwah, bye bestie! πβ¨
π¦ 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