Reference

libnvme_exec_admin_passthru-libnvme3(2)

Submit an admin passthru command and wait

NAME

libnvme_exec_admin_passthru - Submit an admin passthru command and wait

SYNOPSIS

int libnvme_exec_admin_passthru (struct libnvme_transport_handle *hdl , struct libnvme_passthru_cmd *cmd );

ARGUMENTS

hdl

Transport handle

cmd

The nvme admin command to send

DESCRIPTION

Synchronous command execution.

RETURN

The nvme command status if a response was received (see enum nvme_status_field), or negative error code otherwise.