---
name: "nvme_init_fw_commit-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_fw_commit-libnvme3"
---

# nvme\_init\_fw\_commit-libnvme3(2)

Initialize passthru command to commit firmware using the specified action

## NAME

nvme\_init\_fw\_commit - Initialize passthru command to commit firmware using the specified action

## SYNOPSIS

**void nvme\_init\_fw\_commit** **(struct libnvme\_passthru\_cmd \*cmd** *,* **\_\_u8 fs** *,* **enum nvme\_fw\_commit\_ca ca** *,* **bool bpid** *);*

## ARGUMENTS

- cmd

  Passthru command to use

- fs

  Firmware slot to commit the downloaded image

- ca

  Action to use for the firmware image, see *enum nvme\_fw\_commit\_ca*

- bpid

  Set to true to select the boot partition id

## DESCRIPTION

Initializes the passthru command buffer for the Firmware Commit command.
