---
name: "nvme_set_features_plm_config"
section: "2"
platform: "linux"
package: "libnvme-dev"
version: "1.13-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_set_features_plm_config"
---

# nvme\_set\_features\_plm\_config(2)

Set predictable latency feature

## NAME

nvme\_set\_features\_plm\_config - Set predictable latency feature

## SYNOPSIS

**int nvme\_set\_features\_plm\_config** **(int fd** *,* **bool enable** *,* **\_\_u16 nvmsetid** *,* **bool save** *,* **struct nvme\_plm\_config \*data** *,* **\_\_u32 \*result** *);*

## ARGUMENTS

- fd

  File descriptor of nvme device

- enable

  Predictable Latency Enable

- nvmsetid

  NVM Set Identifier

- save

  Save value across power states

- data

  Pointer to structure nvme\_plm\_config

- result

  The command completion result from CQE dword0

## RETURN

The nvme command status if a response was received (see *enum nvme\_status\_field*) or -1 with errno set otherwise.
