nvme_submit_io_passthru64 - Man Page

Submit a 64-bit nvme passthrough command

Synopsis

int nvme_submit_io_passthru64 (int fd , struct nvme_passthru_cmd64 *cmd , __u64 *result );

Arguments

fd

File descriptor of nvme device

cmd

The nvme io command to send

result

Optional field to return the result from the CQE DW0-1

Description

Uses NVME_IOCTL_IO64_CMD for the ioctl request.

Return

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

Info

November 2022 libnvme API manual