NAME
nvme_init_manage_export_ns_associate - Initialize passthru command for Manage Exported Namespace - Associate Namespace
SYNOPSIS
void nvme_init_manage_export_ns_associate (struct libnvme_passthru_cmd *cmd , __u8 andsf , bool esubidv , __u16 esubid , struct nvme_associate_ns_data *data );
ARGUMENTS
- cmd
-
Passthru command to use
- andsf
-
Associate Namespace Data Structure Format (ANDSF): the bit number in the Exported Namespace Data Structure Formats Supported (ENDSFS) field (Identify Controller data structure) that defines the format of data. Bit 1 selects the format defined by struct nvme_associate_ns_data.
- esubidv
-
Exported NVM Subsystem Identifier Valid (ESUBIDV): if set, esubid identifies the target Exported NVM Subsystem; otherwise the target is identified by the ENSNQN field in data
- esubid
-
Exported NVM Subsystem Identifier (ESUBID), used if esubidv is set
- data
-
Associate Namespace data buffer, see struct nvme_associate_ns_data
DESCRIPTION
Initializes the passthru command buffer for the Manage Exported Namespace command with SEL value NVME_MANAGE_EXPORT_NS_SEL_ASSOCIATE.