Reference

nvme_init_get_log_host_discovery-libnvme3(2)

Initialize passthru command for Host Discover

NAME

nvme_init_get_log_host_discovery - Initialize passthru command for Host Discover

SYNOPSIS

void nvme_init_get_log_host_discovery (struct libnvme_passthru_cmd *cmd , bool allhoste , struct nvme_host_discovery_log *log , __u32 len );

ARGUMENTS

cmd

Passthru command to use

allhoste

All host entries

log

User address to store the log page

len

The allocated length of the log page

DESCRIPTION

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