libnvme_submit_admin_passthru-libnvme32
Queue admin passthru command
Usage
int libnvme_submit_admin_passthru (struct libnvme_transport_handle *hdl , struct libnvme_passthru_cmd *cmd , void *cookie );
Arguments
hdl
|
Transport handle |
|---|---|
cmd
|
The nvme admin command to send |
cookie
|
User-defined opaque value returned at completion |
Overview
Queues cmd for asynchronous execution. Completion is reported via libnvme_reap_passthru.
Return
0 on successful queueing, negative error code otherwise.