libnvme_mi_init_transport_handle-libnvme32
Initialise a transport handle to nvme controller.
Usage
struct libnvme_transport_handle * libnvme_mi_init_transport_handle (struct libnvme_mi_ep *ep , __u16 ctrl_id );
Arguments
ep
|
Endpoint to create under |
|---|---|
ctrl_id
|
ID of controller to initialize. |
Overview
Create a connection to a controller behind the endpoint specified in ep. Controller IDs may be queried from the endpoint through libnvme_mi_mi_read_mi_data_ctrl_list.
See libnvme_mi_close_transport_handle
Return
New transport handle object, or NULL on failure.