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

# nvme\_fw\_download\_seq(2)

Firmware download sequence

## NAME

nvme\_fw\_download\_seq - Firmware download sequence

## SYNOPSIS

**int nvme\_fw\_download\_seq** **(int fd** *,* **\_\_u32 size** *,* **\_\_u32 xfer** *,* **\_\_u32 offset** *,* **void \*buf** *);*

## ARGUMENTS

- fd

  File descriptor of nvme device

- size

  Total size of the firmware image to transfer

- xfer

  Maximum size to send with each partial transfer

- offset

  Starting offset to send with this firmware download

- buf

  Address of buffer containing all or part of the firmware image.

## RETURN

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