---
name: "nvme_init_set_features_personality-libnvme3"
section: "2"
platform: "linux"
package: "nvme-cli"
version: "3.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_init_set_features_personality-libnvme3"
---

# nvme\_init\_set\_features\_personality-libnvme3(2)

Initialize passthru command for Configurable Device Personality

## NAME

nvme\_init\_set\_features\_personality - Initialize passthru command for Configurable Device Personality

## SYNOPSIS

**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** *);*

## ARGUMENTS

- cmd

  Passthru command to use

- sv

  Save value across power states

- perid

  Personality Identifier (PERID), see *enum nvme\_personality\_identifier*

- chps

  Change Personality Settings (CHPS)

- perfs

  Personality Freeze State (PERFS)

- cdw11

  Personality Identifier specific Command Dword 11 value

- data

  Personality Identifier specific data buffer, or NULL if the personality does not use the data buffer

- len

  Length of *data*

## DESCRIPTION

Initializes the passthru command buffer for the Set Features command with FID value NVME\_FEAT\_FID\_CONF\_DEV\_PERSONALITY
