Reference

nvme_init_manage_export_nvms_send_change_access_mode-libnvme3(2)

Initialize passthru command for Manage Exported NVM Subsystem Send - Change Access Mode (message-based transports only)

NAME

nvme_init_manage_export_nvms_send_change_access_mode - Initialize passthru command for Manage Exported NVM Subsystem Send - Change Access Mode (message-based transports only)

SYNOPSIS

void nvme_init_manage_export_nvms_send_change_access_mode (struct libnvme_passthru_cmd *cmd , bool ra , bool esubidv , __u16 esubid , struct nvme_exported_nvm_subsys_nqn_data *data );

ARGUMENTS

cmd

Passthru command to use

ra

Restricted Access (RA): if set, the Exported NVM Subsystem is configured to restrict access to Host NQNs in its Allowed Host List; if clear, unrestricted access is allowed

esubidv

Exported NVM Subsystem Identifier Valid (ESUBIDV): if set, esubid identifies the target Exported NVM Subsystem; otherwise the target is identified by the SUBNQN in data

esubid

Exported NVM Subsystem Identifier (ESUBID), used if esubidv is set

data

Exported NVM Subsystem NQN data buffer, see struct nvme_exported_nvm_subsys_nqn_data. Ignored if esubidv is set.

DESCRIPTION

Initializes the passthru command buffer for the Manage Exported NVM Subsystem Send command with SEL value NVME_MANAGE_EXPORT_NVMS_SEND_SEL_CHANGE_ACCESS_MODE.