STRUCT CXL_ENDPOINT_DVSEC_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct cxl_endpoint_dvsec_info(9) ✨

okay bestie so this is a page from the Kernel API Manual and it's all about struct cxl_endpoint_dvsec_info β€” literally the struct that holds your Cached DVSEC info πŸ’… buckle up, it's short but it's iconic.


🌸 NAME 🌸

struct cxl_endpoint_dvsec_info β€” Cached DVSEC info πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

struct cxl_endpoint_dvsec_info {
    bool mem_enabled;
    int ranges;
    struct cxl_port *port;
    struct range dvsec_range[2];
 };

like… look at her. four members. no notes. πŸ‘‘


πŸ’– Members πŸ’–

  • mem_enabled β€” the cached value of mem_enabled in the DVSEC, snapshotted at init time 🫢 (so like, whatever it was back then, that's what you're getting now, no cap).
  • ranges β€” number of active HDM ranges this device uses. literally just counting how many ranges are doing the thing πŸ”₯
  • port β€” the endpoint port associated with this info instance. it's giving "this struct's plus-one" πŸ’œ
  • dvsec_range β€” cached attributes of the ranges in the DVSEC, PCIE_DEVICE 🌸
ok important vibe check bestie: dvsec_range is declared as struct range dvsec_range[2]; in the synopsis, and the description just says "cached attributes of the ranges in the DVSEC, PCIE_DEVICE" β€” that's exactly what the original gives us, so that's exactly what you get. no extra lore, i don't make the rules πŸ™ˆ

🌈 SEE ALSO 🌈

the kernel file is ./drivers/cxl/cxl.h β€” go read it, it's right there 🧚

and then the whole squad:

  • cxl objects(9)
  • struct cxl_decoder(9)
  • struct cxl_endpoint_decoder(9)
  • struct cxl_switch_decoder(9)
  • struct cxl_rd_ops(9)
  • struct cxl_root_decoder(9)
  • struct cxl_region_params(9)
  • struct cxl_region(9)
  • struct cxl_port(9)
  • struct cxl_root(9)
  • struct cxl_dport(9)
  • struct cxl_ep(9)
  • struct cxl_region_ref(9)

like that's a full friend group right there, all ate πŸ’€βœ¨


mwah πŸ’‹ that's the whole page β€” brought to you by the folks over at ./drivers/cxl, dated October 2026, and honestly? iconic of them. go forth and cache your DVSEC info, bestie πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from