libnvme_mi_ctrl_id(9) libnvme API manual libnvme_mi_ctrl_id(9)

libnvme_mi_ctrl_id - get the ID of a controller

__u16 libnvme_mi_ctrl_id (struct libnvme_transport_handle *hdl );

transport handle to controller to query

Retrieve the ID of the controller, as defined by hardware, and available in the Identify (Controller List) data. This is the value passed to libnvme_mi_init_transport_handle, but may have been created internally via libnvme_mi_scan_ep.

the (locally-stored) ID of this controller.

libnvme_mi_ctrl_id September 2026