>Maybe there's a better way? I would look at using rdma_resolve_ip, or using rdma_resolve_addr as is. The rdma_cm_id ensures that there's a reference on the ib_device for the pointer that's returned. The proposed interface returns a pointer without any way to verify that it's still valid, or know when it is no longer usable. - Sean