rte_memseg(3)

πŸ“¦ version 26.03, in nixos 26.05, nixpkgs unstable

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 iova
  • size_t len
  • uint64_t hugepage_sz
  • int32_t socket_id
  • uint32_t nchannel
  • uint32_t nrank
  • uint32_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