libnvme_exec_admin_passthru-libnvme32
Submit an admin passthru command and wait
Usage
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 |
Overview
Synchronous command execution.
Return
The nvme command status if a response was received (see enum nvme_status_field), or negative error code otherwise.