| 1 |
.TH "nvme_mi_ctrl_id" 9 "nvme_mi_ctrl_id" "November 2025" "libnvme API manual" LINUX |
| 2 |
.SH NAME |
| 3 |
nvme_mi_ctrl_id \- get the ID of a controller |
| 4 |
.SH SYNOPSIS |
| 5 |
.B "__u16" nvme_mi_ctrl_id |
| 6 |
.BI "(nvme_mi_ctrl_t ctrl " ");" |
| 7 |
.SH ARGUMENTS |
| 8 |
.IP "ctrl" 12 |
| 9 |
controller to query |
| 10 |
.SH "DESCRIPTION" |
| 11 |
Retrieve the ID of the controller, as defined by hardware, and available |
| 12 |
in the Identify (Controller List) data. This is the value passed to |
| 13 |
\fInvme_mi_init_ctrl\fP, but may have been created internally via |
| 14 |
\fInvme_mi_scan_ep\fP. |
| 15 |
.SH "RETURN" |
| 16 |
the (locally-stored) ID of this controller. |