DOKK / manpages / debian 12 / libnvme-dev / nvme_fw_download_seq.2.en
nvme_fw_download_seq(2) libnvme API manual nvme_fw_download_seq(2)

nvme_fw_download_seq - Firmware download sequence

int nvme_fw_download_seq (int fd , __u32 size , __u32 xfer , __u32 offset , void *buf );

File descriptor of nvme device
Total size of the firmware image to transfer
Maximum size to send with each partial transfer
Starting offset to send with this firmware download
Address of buffer containing all or part of the firmware image.

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

nvme_fw_download_seq January 2023