nvme_init_set_features_personality(9) libnvme API manual nvme_init_set_features_personality(9)

nvme_init_set_features_personality - Initialize passthru command for Configurable Device Personality

void nvme_init_set_features_personality (struct libnvme_passthru_cmd *cmd , bool sv , __u8 perid , bool chps , bool perfs , __u32 cdw11 , void *data , __u32 len );

Passthru command to use
Save value across power states
Personality Identifier (PERID), see enum nvme_personality_identifier
Change Personality Settings (CHPS)
Personality Freeze State (PERFS)
Personality Identifier specific Command Dword 11 value
Personality Identifier specific data buffer, or NULL if the personality does not use the data buffer
Length of data

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

nvme_init_set_features_personality October 2026