Reference

nvme_init_get_features_perf_characteristics-libnvme3(2)

Initialize passthru command for Get Features - Performance Characteristics

NAME

nvme_init_get_features_perf_characteristics - Initialize passthru command for Get Features - Performance Characteristics

SYNOPSIS

void nvme_init_get_features_perf_characteristics (struct libnvme_passthru_cmd *cmd , enum nvme_get_features_sel sel , __u8 attri , struct nvme_perf_characteristics *data );

ARGUMENTS

cmd

Passthru command to use

sel

Select which type of attribute to return, see enum nvme_get_features_sel

attri

Attribute Index (ATTRI)

data

Buffer for returned struct nvme_perf_characteristics

DESCRIPTION

Initializes the passthru command buffer for the Get Features command with FID value NVME_FEAT_FID_PERF_CHARACTERISTICS