nvme_submit_admin_passthru
Submit an nvme passthrough admin command
- Provided by: libnvme-dev (Version: 1.16.1-4)
- Source: libnvme
- Report a bug
Submit an nvme passthrough admin command
int nvme_submit_admin_passthru (int fd , struct nvme_passthru_cmd *cmd , __u32 *result );
Uses NVME_IOCTL_ADMIN_CMD for the ioctl request.
The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.