]> git.openfabrics.org - ~ardavis/dapl.git/commitdiff
r8112: Update for new rdma_create_id() function signature.
authorJames Lentini <jlentini@netapp.com>
Mon, 19 Jun 2006 17:20:45 +0000 (17:20 +0000)
committerJames Lentini <jlentini@netapp.com>
Mon, 19 Jun 2006 17:20:45 +0000 (17:20 +0000)
Signed-off-by: James Lentini <jlentini@netapp.com>
dapl/openib_cma/dapl_ib_cm.c
dapl/openib_cma/dapl_ib_qp.c
dapl/openib_cma/dapl_ib_util.c

index 4b73d55122d19a6bd007dd35f56b35448df59789..5e86827e6846c7f669f3121b48c84a3b7563a4a5 100644 (file)
@@ -694,7 +694,7 @@ dapls_ib_setup_conn_listener(IN DAPL_IA *ia_ptr,
        dapl_os_lock_init(&conn->lock);
                 
        /* create CM_ID, bind to local device, create QP */
-       if (rdma_create_id(g_cm_events, &conn->cm_id, (void*)conn)) {
+       if (rdma_create_id(g_cm_events, &conn->cm_id, (void*)conn, RDMA_PS_TCP)) {
                dapl_os_free(conn, sizeof(*conn));
                return(dapl_convert_errno(errno,"setup_listener"));
        }
index 9a91db544c68c7be4e69674134c09186997c734e..c5b549b4d41f2a124b0339a3152dcb320c1efd2b 100644 (file)
@@ -130,7 +130,7 @@ DAT_RETURN dapls_ib_qp_alloc(IN DAPL_IA *ia_ptr,
        dapl_os_lock_init(&conn->lock);
 
        /* create CM_ID, bind to local device, create QP */
-       if (rdma_create_id(g_cm_events, &cm_id, (void*)conn)) {
+       if (rdma_create_id(g_cm_events, &cm_id, (void*)conn, RDMA_PS_TCP)) {
                dapl_os_free(conn, sizeof(*conn));
                return(dapl_convert_errno(errno, "create_qp"));
        }
index 8754cc52f5a8c5df8446cf4deac39cdd7859eb38..8d1818eea336ca1f730673bfa75eeb9d8ad43768 100644 (file)
@@ -235,7 +235,7 @@ DAT_RETURN dapls_ib_open_hca(IN IB_HCA_NAME hca_name, IN DAPL_HCA *hca_ptr)
                return DAT_INVALID_ADDRESS;
 
        /* cm_id will bind local device/GID based on IP address */
-       if (rdma_create_id(g_cm_events, &cm_id, (void*)hca_ptr))
+       if (rdma_create_id(g_cm_events, &cm_id, (void*)hca_ptr, RDMA_PS_TCP))
                return DAT_INTERNAL_ERROR;
 
        ret = rdma_bind_addr(cm_id,