nvme_init_m...ceive_create(9)
π NAME π
nvme_init_manage_export_nvms_receive_create β bestie, this is the one that initializes the passthru command for Manage Exported NVM Subsystem Receive - Create Exported NVM Subsystem β¨ (yes that's a whole mouthful, we love a descriptive queen π)
This page lives in the libnvme API manual β ok so now you know where you are π
π¦ SYNOPSIS π¦
void nvme_init_manage_export_nvms_receive_create (struct
libnvme_passthru_cmd *cmd , bool tr , __u8 ensti , bool ra , struct
nvme_exported_nvm_subsys_create_data *data );
π ARGUMENTS π
cmdβ the passthru command you're gonna use, like that's the thing we're filling in π«Άtrβ Template Required (TR), literally what it says on the tin β¨enstiβ Exported NVM Subsystem Template Index (ENSTI), and ngl it's only used iftris set. It indexes the Exported NVM Subsystem Template UUID List, seeNVME_IDENTIFY_CNS_EXPORTED_NVM_SUBSYS_TEMPLATE_UUID_LISTπ (iykyk)raβ Restricted Access (RA): message-based transports only bestie, memory-based transports just ignore it πdataβ the Create Exported NVM Subsystem data buffer, seestruct nvme_exported_nvm_subsys_create_data. And here's the cute part: the assigned Exported NVM Subsystem NQN gets returned in this same buffer π lowkey convenient
πΈ DESCRIPTION πΈ
Okay so what this actually does: it initializes the passthru command buffer for the Manage Exported NVM Subsystem Receive command, with the SEL value NVME_MANAGE_EXPORT_NVMS_RECV_SEL_CREATE β¨
And the created Exported NVM Subsystem Identifier? That comes back in the CQE result, see enum nvme_export_nvms_create_cqe_dw0 π that's where you go looking for it, bestie, don't forget π₯
that's the whole page, no cap β go forth and init those commands π§β¨
π this lil' cutie is from the libnvme API manual, dated October 2026 β mwah, bye bestie π«Άπ
π¦ 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