Scroll to navigation

nvme_init_fw_download(2) libnvme API manual nvme_init_fw_download(2)

NAME

nvme_init_fw_download - Initialize passthru command to download part or all of a firmware image to the controller

SYNOPSIS

int nvme_init_fw_download (struct libnvme_passthru_cmd *cmd , void *data , __u32 len , __u32 offset );

ARGUMENTS

Passthru command to use
Userspace address of the firmware data buffer
Length of data in this command in bytes
Offset in the firmware data

DESCRIPTION

Initializes the passthru command buffer for the Firmware Image Download command.

NOTE

Caller must ensure data_len and offset are DWord-aligned (0x4).

RETURN

0 on success, negative error code otherwise.

nvme_init_fw_download October 2026