libnvme(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’… 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 fr
  • epid β€” the Exported Port ID (EPID) πŸŽ€ here's the tea though: she's only used unless GEPID is set in the MOS field. if GEPID is set, this field gets straight-up ignored πŸ™ˆ and the assigned Exported Port ID comes back to you in the CQE result 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 truth
  • trsvcid β€” 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