1nvme_submit_admin_passthru(9) libnvme API manual nvme_submit_admin_passthru(9)
2
3
4
6 nvme_submit_admin_passthru - Submit an nvme passthrough admin command
7
9 int nvme_submit_admin_passthru (int fd , struct nvme_passthru_cmd *cmd
10 , __u32 *result );
11
13 fd File descriptor of nvme device
14
15 cmd The nvme admin command to send
16
17 result Optional field to return the result from the CQE DW0
18
20 Uses NVME_IOCTL_ADMIN_CMD for the ioctl request.
21
23 The nvme command status if a response was received (see enum nvme_sta‐
24 tus_field) or -1 with errno set otherwise.
25
26
27
28October 2023 nvme_submit_admin_passthnrvume_submit_admin_passthru(9)