On Mon, Jun 03, 2019 at 04:08:40PM +0800, Liu, Changcheng wrote: > Hi Leon Romanovksy, > Could I think it like below? I'm wondering how to use RDMA_CM API to make IB/RoCEv1 device work. > 1) VPI provides lower layer control API for the devices which implement IB/RoCEv1/RoCEv2/iWARP > 2) RDMA_CM use parts of VPI and other library API to make it convenient to use the devices which implement RoCEv2/iWARP > For exmaple, rdma_get_devices do some extra things e.g. ucma_set_af_ib_support, besides calling ibv_open_device. First, please don't answer email in top-post format. Second, I don't fully understand your question. Thanks