nvme_fw_download_seq - Man Page
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.
April 2023 libnvme API manual