Reference

nvme_init_set_features_endurance_evt_cfg-libnvme3(2)

Initialize passthru command for Endurance Group Event Configuration

NAME

nvme_init_set_features_endurance_evt_cfg - Initialize passthru command for Endurance Group Event Configuration

SYNOPSIS

void nvme_init_set_features_endurance_evt_cfg (struct libnvme_passthru_cmd *cmd , bool sv , __u16 endgid , __u8 egcw );

ARGUMENTS

cmd

Passthru command to use

sv

Save value across power states

endgid

Endurance Group Identifier

egcw

Flags to enable warning, see enum nvme_eg_critical_warning_flags

DESCRIPTION

Initializes the passthru command buffer for the Set Features command with FID value NVME_FEAT_FID_ENDURANCE_EVT_CFG