Following is the revised patch to propagate errno to caller of rdma_create_qp_ex with the suggestions took from v1 review. If you agree to this change then i will go over cma.c and implement the same to all calls to ibv_* which returns pointer. This is what i found: ibv_get_device_list ibv_alloc_pd ibv_open_xrcd ibv_create_comp_channel ibv_create_cq ibv_create_srq_ex Yuval Shaia (1): librdmacm: Return errno on create_qp failure librdmacm/cma.c | 4 +++- librdmacm/cma.h | 8 ++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) -- 2.14.3 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html