nvme_get_property(2)
β¨ nvme_get_property(2) β¨
okay bestie, welcome to the libnvme API manual π you're in the funcs section now, section 2, and we're gonna talk about grabbing yourself a controller property like it's the last boba in the shop π§
π NAME π
nvme_get_property β get a controller property π
π¦ SYNOPSIS π¦
int nvme_get_property (struct nvme_get_property_args *args );
πΈ ARGUMENTS πΈ
argsβ astruct nvme_get_propert_argsargument structure. yes literally that, that's the spelling in the source, don't come for me π
β¨ DESCRIPTION β¨
So here's the tea π΅ this one is an NVMe-over-Fabrics specific command, which means it is not applicable to PCIe. like, not even a little. don't try it, it's not giving PCIe energy π
And the way these properties work? they align to the PCI MMIO controller registers π― so if you know those registers, you already know the vibe. iykyk β¨
π RETURN π
You get the nvme command status if a response was received β peep enum nvme_status_field for the full rundown π
Otherwise? you get -1 and errno gets set. classic. not me getting a -1 π
and that's the whole page, bestie!! slay π β¨
this cutie was brought to you by π«Ά the libnvme API manual, version date July 2026, and it's the nvme_get_property(2) page fr fr. go get those properties πβπ
π¦ where this page comes from
- ubuntu stonking: libnvme-dev 1.16.2-1build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms