nvme_fw_download_seq - Man Page

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.

Info

August 2022 libnvme API manual