Reference

nvme_init_identify_ports_list-libnvme3(2)

Initialize passthru command for Get Ports List

NAME

nvme_init_identify_ports_list - Initialize passthru command for Get Ports List

SYNOPSIS

void nvme_init_identify_ports_list (struct libnvme_passthru_cmd *cmd , struct nvme_ports_list *list , __u32 len );

ARGUMENTS

cmd

Command data structure to initialize

list

User space destination address to transfer the data

len

The allocated length of list

DESCRIPTION

Initializes the passthru command buffer for the Identify command with CNS value NVME_IDENTIFY_CNS_PORTS_LIST.