Reference

nvme_init_get_log_discovery-libnvme3(2)

Initialize passthru command for Discovery

NAME

nvme_init_get_log_discovery - Initialize passthru command for Discovery

SYNOPSIS

void nvme_init_get_log_discovery (struct libnvme_passthru_cmd *cmd , __u64 lpo , void *log , __u32 len );

ARGUMENTS

cmd

Passthru command to use

lpo

Offset of this log to retrieve

log

User address to store the discovery log

len

The allocated size for this portion of the log

DESCRIPTION

Initializes the passthru command buffer for the Get Log command with LID value NVME_LOG_LID_DISCOVERY