nvme_init_manage_export_nvms_receive_create-libnvme32
Initialize passthru command for manage exported nvm subsystem receive - create exported nvm subsystem
Usage
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
-
Passthru command to use
- tr
-
Template Required (TR)
- ensti
-
Exported NVM Subsystem Template Index (ENSTI), used if tr is set. Indexes the Exported NVM Subsystem Template UUID List, see NVME_IDENTIFY_CNS_EXPORTED_NVM_SUBSYS_TEMPLATE_UUID_LIST.
- ra
-
Restricted Access (RA): message-based transports only, ignored by memory-based transports
- data
-
Create Exported NVM Subsystem data buffer, see struct nvme_exported_nvm_subsys_create_data. The assigned Exported NVM Subsystem NQN is returned in this same buffer.
Overview
Initializes the passthru command buffer for the Manage Exported NVM Subsystem Receive command with SEL value NVME_MANAGE_EXPORT_NVMS_RECV_SEL_CREATE. The created Exported NVM Subsystem Identifier is returned in the CQE result, see enum nvme_export_nvms_create_cqe_dw0.