nvme_init_send_discovery_log_page-libnvme32
Initialize passthru command for send discovery log page
Usage
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 |
Overview
Initializes the passthru command buffer for the Send Discovery Log Page command.