libnvme_mi_init_transport_handle(9)

NAME
libnvme_mi_init_transport_handle - initialise a transport handle to NVMe controller.

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

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