rte_memseg_list(3)

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

πŸ’– 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_sz
  • int socket_id
  • volatile uint32_t version
  • size_t len
  • unsigned int external
  • unsigned int heap
ok so real talk: the synopsis list above is short on purpose, but the actual struct has two more members (base_va and addr_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