Reference

nvme_init_get_features_host_id-libnvme3(2)

Initialize passthru command for Get Features - Host Identifier

NAME

nvme_init_get_features_host_id - Initialize passthru command for Get Features - Host Identifier

SYNOPSIS

void nvme_init_get_features_host_id (struct libnvme_passthru_cmd *cmd , enum nvme_get_features_sel sel , bool exhid , void *hostid , __u32 len );

ARGUMENTS

cmd

Passthru command to use

sel

Select which type of attribute to return, see enum nvme_get_features_sel

exhid

Enable Extended Host Identifier

hostid

Buffer for returned host ID

len

Length of hostid

DESCRIPTION

Initializes the passthru command buffer for the Get Features command with FID value NVME_FEAT_FID_HOST_ID