---
name: "nvme_set_features_arbitration"
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_arbitration"
---

# nvme\_set\_features\_arbitration(2)

Set arbitration features

## NAME

nvme\_set\_features\_arbitration - Set arbitration features

## SYNOPSIS

**int nvme\_set\_features\_arbitration** **(int fd** *,* **\_\_u8 ab** *,* **\_\_u8 lpw** *,* **\_\_u8 mpw** *,* **\_\_u8 hpw** *,* **bool save** *,* **\_\_u32 \*result** *);*

## ARGUMENTS

- fd

  File descriptor of nvme device

- ab

  Arbitration Burst

- lpw

  Low Priority Weight

- mpw

  Medium Priority Weight

- hpw

  High Priority Weight

- save

  Save value across power states

- 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.
