rte_mem_resource(3)

✨ NAME ✨

rte_mem_resource β€” bestie, this is a struct, and she is the generic memory resource representation πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

#include <rte_dev.h>

🌸 Data Fields

  • uint64_t phys_addr
  • uint64_t len
  • void * addr

πŸ¦‹ Detailed Description

Okay so picture this: a struct that just... represents a memory resource. Genericly. Iconically. That's her. That's rte_mem_resource. πŸ’–

Definition at line 55 of file rte_dev.h.


πŸ’œ Field Documentation

⭐ uint64_t phys_addr

The physical address, babes. And listen β€” if this isn't a resource, it's just 0. No cap. πŸ™ˆ

Definition at line 56 of file rte_dev.h.

⭐ uint64_t len

How long the resource is. The length. The amount of resource. Ms. Resource if you're nasty. πŸ’…

Definition at line 57 of file rte_dev.h.

⭐ void* addr

The virtual address β€” and when it's not mapped? She's NULL, bestie. Not ghosting you, just literally unmapped. 😭

Definition at line 58 of file rte_dev.h.


πŸ‘‘ Author

Not me writing this... it was generated automatically by Doxygen for DPDK from the source code. The machines ate. Periodt. πŸ€–βœ¨


And that's the whole page, bestie 🫢 this cutie pie is from DPDK, Version 25.11.3, and she's served up as rte_mem_resource(3) in the Library Functions Manual β€” go forth and vibe check your memory resources fr fr πŸ’–πŸŒΈβœ¨

πŸ“¦ where this page comes from