Scroll to navigation

nvme_submit_io_passthru(2) libnvme API manual nvme_submit_io_passthru(2)

NAME

nvme_submit_io_passthru - Submit an nvme passthrough command

SYNOPSIS

int nvme_submit_io_passthru (int fd , struct nvme_passthru_cmd *cmd , __u32 *result );

ARGUMENTS

File descriptor of nvme device
The nvme io command to send
Optional field to return the result from the CQE DW0

DESCRIPTION

Uses NVME_IOCTL_IO_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.

nvme_submit_io_passthru February 2024