cxl_endpoin..._coordinates(9)
π cxl_endpoin..._coordinates(9) β the Kernel API Manual page, but make it make sense
okay bestie, so this is a page from the Kernel API Manual, and the name is lowkey a mouthful: it's cxl_endpoin..._coordinates(9) β yes, the title itself gets truncated with ... like the kernel ran out of characters mid-sentence and just said "good enough" π iconic behaviour honestly.
The star of the show is cxl_endpoint_get_perf_coordinates β say it three times fast, I dare you π«Ά
β¨ NAME β¨
cxl_endpoint_get_perf_coordinates β it goes and retrieves the performance numbers, and those numbers live inside the dports of a CXL path. That's the whole vibe check: performance data, dports, CXL path. No cap. π¦
β¨ SYNOPSIS β¨
int cxl_endpoint_get_perf_coordinates (struct cxl_port *port , struct access_coordinate *coord );
literally just hand it a port and somewhere to stash the coordinates, and it returns an int. main character signature energy π
β¨ ARGUMENTS β¨
portβ the endpointcxl_port. like, the port in question. the one you're being nosy about πcoordβ the output performance data. this is where the numbers get dropped off, so make sure it's ready to receive π
β¨ RETURN β¨
errnoon failure β aka it did not slay, and it's telling you why π0on success β aka we ate, we devoured, no crumbs πΈ
fr fr, always check that return value. errno is not a decoration.
β¨ SEE ALSO β¨
the kernel file for this one is ./drivers/cxl/core/port.c β go read it, it's giving source of truth πβ¨
and while you're in the CXL cinematic universe, these are all friends of the family:
cxl core(9)devm_cxl_add_port(9)devm_cxl_add_dport(9)devm_cxl_add_rch_dport(9)cxl_add_ep(9)find_cxl_port_by_dport(9)find_cxl_port_by_uport(9)cxl_decoder_init(9)cxl_root_decoder_alloc(9)cxl_switch_decoder_alloc(9)cxl_endpoint_decoder_alloc(9)cxl_decoder_add_locked(9)cxl_decoder_add(9)__cxl_driver_register(9)
that's the whole group chat, no one's getting left on read π
π₯Ί okay that's the page!! sign-off time: this lil beauty lives under ./drivers/cxl/core, dated October 2026, and it's filed as cxl_endpoin..._coordinates(9) in the Kernel API Manual. mwah, go get those performance coordinates bestie ππβ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms