libnvme_mi_ctrl_id(9)

NAME
libnvme_mi_ctrl_id - get the ID of a controller

SYNOPSIS
__u16 libnvme_mi_ctrl_id (struct libnvme_transport_handle *hdl );

ARGUMENTS

hdl transport handle to controller to query

DESCRIPTION
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.

RETURN
the (locally-stored) ID of this controller.