Reference

nvme_init_send_discovery_log_page-libnvme3(2)

Initialize passthru command for Send Discovery Log Page

NAME

nvme_init_send_discovery_log_page - Initialize passthru command for Send Discovery Log Page

SYNOPSIS

void nvme_init_send_discovery_log_page (struct libnvme_passthru_cmd *cmd , __u8 rlps , __u8 sct , __u8 sc , __u8 tlsp , __u8 tlid , __u32 ndws , __u64 tlpo , void *data , __u32 len );

ARGUMENTS

cmd

Passthru command to use

rlps

Requested Log Page Status (RLPS), see enum nvme_send_discovery_log_page_rlps

sct

Status Code Type (SCT), used if rlps is NVME_SDLP_RLPS_NOT_SUCCESSFUL

sc

Status Code (SC), used if rlps is NVME_SDLP_RLPS_NOT_SUCCESSFUL

tlsp

Transferred Log Specific Parameter (TLSP)

tlid

Transferred Log Page Identifier (TLID)

ndws

Number of Dwords (NDWS) transferred

tlpo

Transferred Log Page Offset (TLPO)

data

Transferred log page data buffer

len

Length of data

DESCRIPTION

Initializes the passthru command buffer for the Send Discovery Log Page command.