libnvme(9)
π struct nvme_exported_port_create_data β libnvme(9)
okay bestie, welcome to the API Manual β¨ this is the page for libnvme(9), and today's main character is a little struct that handles Exported Port - Create Data π ngl the name is a mouthful but she's lowkey iconic once you get to know her π«Ά
πΈ NAME πΈ
struct nvme_exported_port_create_data β Manage Exported Port - Create Data Structure π
β¨ SYNOPSIS β¨
here's the whole glow-up, copied exactly, no edits, no cap π§
struct nvme_exported_port_create_data {
__u8 subnqn[256];
__le16 epid;
__le16 pidud;
__u8 trsvcid[32];
__u8 rsvd292[28];
};
π¦ Members π¦
okay so let's meet the cast, one field at a time π
subnqnβ this is the Exported NVM Subsystem NQN (SUBNQN), and her whole job is telling the kernel which subsystem to associate the newly created Exported Port with π« she's the matchmaker fr frepidβ the Exported Port ID (EPID) π here's the tea though: she's only used unlessGEPIDis set in theMOSfield. ifGEPIDis set, this field gets straight-up ignored π and the assigned Exported Port ID comes back to you in theCQEresult instead. so she's either the star or she's watching from the sidelines, iykyk πpidudβ the Port ID of the Underlying Port (PIDUD) π yes that's genuinely the acronym, no we did not make it up, she's just out here living her truthtrsvcidβ the Transport Service ID (TRSVCID), and she's an ASCII string β important detail bestie, she's text, not numbers, don't come for her with raw bytes πrsvd292β Reserved π¦ she doesn't do anything, she's just here for the vibes and the padding, respect her journey π
lowkey reminder: rsvd292 is reserved, so likeβ¦ don't touch it. it's giving "do not perceive me" energy π
and that's the page bestie, you ate that π
β¨ this was struct nvme_exported_port_create_data from the API Manual, dated October 2026 π and we're all under the libnvme(9) umbrella together π«Ά go forth and create those exported ports, no cap π₯π
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms