STRUCT CXL_DPA_PARTITION(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

struct cxl_dpa_partition β€” bestie, this is the DPA partition descriptor, like, the little ID card for one slice of DPA. Welcome to the Kernel API Manual, we're getting into it ✨


🌸 SYNOPSIS 🌸

struct cxl_dpa_partition {
    struct resource res;
    struct cxl_dpa_perf perf;
    enum cxl_partition_mode mode;
 };

okay so, three fields, no notes, she's giving minimal and iconic πŸŽ€


πŸ¦‹ Members πŸ¦‹

  • res β€” this is your shortcut straight to the partition in the DPA resource tree, aka cxlds->dpa_res. literally the pointy finger that says "the partition is right there" πŸ’…
  • perf β€” the performance attributes of the partition, served fresh from CDAT πŸ“Š obsession-worthy, honestly.
  • mode β€” the operation mode for the DPA capacity. like ram, pmem, dynamic... β€” which one it's in is very much main character energy of the field 🌈

πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./include/cxl/cxl.h
  • enum cxl_devtype(9)
  • struct cxl_register_map(9)
  • struct cxl_dpa_perf(9)
  • struct cxl_dev_state(9)

go read those too, iykyk, you'll be so glad you did 🫢


ngl this one's short but she ate. no bugs, no warnings, no drama β€” just vibes and correct documentation πŸ’€βœ¨

and that's the page, bestie 🧚 straight from the Kernel API Manual, sourced at ./include/cxl, stamped October 2026, filed under struct cxl_dpa_partition(9). periodt πŸ’–πŸŒΈπŸ¦‹

πŸ“¦ where this page comes from