]> git.openfabrics.org - ~shefty/rdma-win.git/commitdiff
[MT23108] Removed linker dependency on IBAL.
authorftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Thu, 30 Mar 2006 18:27:03 +0000 (18:27 +0000)
committerftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Thu, 30 Mar 2006 18:27:03 +0000 (18:27 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1@263 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

trunk/hw/mt23108/kernel/SOURCES
trunk/hw/mt23108/kernel/hca_mcast.c
trunk/hw/mt23108/kernel/hca_memory.c
trunk/hw/mt23108/kernel/hca_smp.c
trunk/hw/mt23108/kernel/hca_verbs.c

index 8d8ff4438cee569c476863f26fcde84c5f205fa6..cdef48330d90f69052305bbd7ec254892ffc6e4d 100644 (file)
@@ -52,7 +52,6 @@ C_DEFINES=$(C_DEFINES) -DDRIVER -DDEPRECATE_DDK_FUNCTIONS -D__MSC__ \
 \r
 TARGETLIBS= \\r
        $(TARGETPATH)\*\complib.lib     \\r
-       $(TARGETPATH)\*\ibal.lib        \\r
        $(TARGETPATH)\*\mt23108.lib     \\r
        $(DDK_LIB_PATH)\wdmguid.lib\r
 \r
index 591a3f3c884a921649da793e6d6155edb9bfe2bf..49690f2c267d80438f9d477dee9acde10b04be06 100644 (file)
@@ -125,7 +125,7 @@ cleanup:
                p_umv_buf->status = status;\r
        }\r
 \r
-       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %s\n", ib_get_err_str(status)));\r
+       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %d\n", status));\r
        CL_EXIT(MLNX_DBG_TRACE, g_mlnx_dbg_lvl);\r
        return status;\r
 }\r
@@ -189,7 +189,7 @@ cleanup:
                cl_free( mcast_p);\r
        }\r
 \r
-       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %s\n", ib_get_err_str(status)));\r
+       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %d\n", status));\r
        CL_EXIT(MLNX_DBG_TRACE, g_mlnx_dbg_lvl);\r
        return status;\r
 }\r
index ddd4549adf028e7770656526898edbc5fd1daed5..f20ed9a8fd05d6d1aaa2176b2f1d9ff106868535 100644 (file)
@@ -121,7 +121,7 @@ cleanup:
                cl_free( mro_p);\r
        }\r
        CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("file %s line %d\n", __FILE__, __LINE__));\r
-       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %s\n", ib_get_err_str(status)));\r
+       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %d\n", status));\r
        CL_EXIT(MLNX_DBG_TRACE, g_mlnx_dbg_lvl);\r
        return status;\r
 }\r
@@ -227,7 +227,7 @@ cleanup:
                        mro_p->mark = E_MARK_INVALID;\r
                        cl_free( mro_p);\r
                }\r
-               CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %s\n", ib_get_err_str(status)));\r
+               CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %d\n", status));\r
                CL_EXIT(MLNX_DBG_TRACE, g_mlnx_dbg_lvl);\r
                return status;\r
 }\r
@@ -284,7 +284,7 @@ mlnx_query_mr (
        return IB_SUCCESS;\r
 \r
 cleanup:\r
-       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %s\n", ib_get_err_str(status)));\r
+       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %d\n", status));\r
        CL_EXIT(MLNX_DBG_TRACE, g_mlnx_dbg_lvl);\r
        return status;\r
 }\r
@@ -399,7 +399,7 @@ mlnx_modify_mr (
        return IB_SUCCESS;\r
 \r
 cleanup:\r
-       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %s\n", ib_get_err_str(status)));\r
+       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %d\n", status));\r
        CL_EXIT(MLNX_DBG_TRACE, g_mlnx_dbg_lvl);\r
        return status;\r
 }\r
@@ -510,7 +510,7 @@ cleanup:
        if( mr_props.tpt.tpt.buf_lst.phys_buf_lst )\r
                cl_free( mr_props.tpt.tpt.buf_lst.phys_buf_lst );\r
 \r
-       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %s\n", ib_get_err_str(status)));\r
+       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %d\n", status));\r
        CL_EXIT(MLNX_DBG_TRACE, g_mlnx_dbg_lvl);\r
        return status;\r
 }\r
@@ -621,7 +621,7 @@ cleanup:
                new_mro_p->mark = E_MARK_INVALID;\r
                cl_free( new_mro_p);\r
        }\r
-       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %s\n", ib_get_err_str(status)));\r
+       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %d\n", status));\r
        CL_EXIT(MLNX_DBG_TRACE, g_mlnx_dbg_lvl);\r
        return status;\r
 }\r
@@ -686,7 +686,7 @@ cleanup:
                mro_p->mark = E_MARK_INVALID;\r
                cl_free( mro_p);\r
        }\r
-       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %s\n", ib_get_err_str(status)));\r
+       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %d\n", status));\r
        CL_EXIT(MLNX_DBG_TRACE, g_mlnx_dbg_lvl);\r
        return status;\r
 }\r
@@ -769,7 +769,7 @@ cleanup:
                p_umv_buf->output_size = 0;\r
                p_umv_buf->status = status;\r
        }\r
-       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %s\n", ib_get_err_str(status)));\r
+       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %d\n", status));\r
        CL_EXIT(MLNX_DBG_TRACE, g_mlnx_dbg_lvl);\r
        return status;\r
 }\r
@@ -831,7 +831,7 @@ cleanup:
                p_umv_buf->output_size = 0;\r
                p_umv_buf->status = status;\r
        }\r
-       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %s\n", ib_get_err_str(status)));\r
+       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %d\n", status));\r
        CL_EXIT(MLNX_DBG_TRACE, g_mlnx_dbg_lvl);\r
        return status;\r
 }\r
@@ -894,7 +894,7 @@ cleanup:
                mwo_p->mark = E_MARK_INVALID;\r
                cl_free( mwo_p);\r
        }\r
-       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %s\n", ib_get_err_str(status)));\r
+       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %d\n", status));\r
        CL_EXIT(MLNX_DBG_TRACE, g_mlnx_dbg_lvl);\r
        return status;\r
 }\r
index 5cefaae80ed85f47f79099d8a96695fecba5d616..f768b5c247b80629253b7bd768e9e7b425a10c67 100644 (file)
@@ -552,7 +552,7 @@ mlnx_local_mad (
        return IB_SUCCESS;\r
 \r
 cleanup:\r
-       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %s\n", ib_get_err_str(status)));\r
+       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %d\n", status));\r
        CL_EXIT(MLNX_DBG_TRACE, g_mlnx_dbg_lvl);\r
        return status;\r
 }\r
index ca9ce406009dcf506536ad87463419df51df889d..6e95a8f9ccd03b54c932036e10ad6fddc306723e 100644 (file)
@@ -166,7 +166,7 @@ cleanup:
        mlnx_hobs_remove(new_ca);\r
 \r
        // For user mode call - return status to user mode\r
-       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %s\n", ib_get_err_str(status)));\r
+       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %d\n", status));\r
        CL_EXIT(MLNX_DBG_TRACE, g_mlnx_dbg_lvl);\r
        return status;\r
 }\r
@@ -369,7 +369,7 @@ cleanup:
        if (hca_ul_resources_p) cl_free (hca_ul_resources_p);\r
        if (hca_ports) cl_free( hca_ports);\r
        if( p_ca_attr != NULL || status != IB_INSUFFICIENT_MEMORY )\r
-               CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %s\n", ib_get_err_str(status)));\r
+               CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %d\n", status));\r
        CL_EXIT(MLNX_DBG_TRACE, g_mlnx_dbg_lvl);\r
        return status;\r
 }\r
@@ -435,7 +435,7 @@ mlnx_modify_ca (
        return IB_SUCCESS;\r
 \r
 cleanup:\r
-       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %s\n", ib_get_err_str(status)));\r
+       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %d\n", status));\r
        CL_EXIT(MLNX_DBG_TRACE, g_mlnx_dbg_lvl);\r
        return status;\r
 }\r
@@ -486,7 +486,7 @@ mlnx_close_ca (
        return IB_SUCCESS;\r
 \r
 cleanup:\r
-       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %s\n", ib_get_err_str(status)));\r
+       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %d\n", status));\r
        CL_EXIT(MLNX_DBG_TRACE, g_mlnx_dbg_lvl);\r
        return status;\r
 }\r
@@ -801,7 +801,7 @@ cleanup:
                p_umv_buf->output_size = 0;\r
                p_umv_buf->status = status;\r
        }\r
-       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %s\n", ib_get_err_str(status)));\r
+       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %d\n", status));\r
        CL_EXIT(MLNX_DBG_TRACE, g_mlnx_dbg_lvl);\r
        return status;\r
 }\r
@@ -882,7 +882,7 @@ cleanup_locked:
        cl_mutex_release(&hobul_p->pd_info_tbl[pd_idx].mutex);\r
 \r
 cleanup:\r
-       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %s\n", ib_get_err_str(status)));\r
+       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %d\n", status));\r
        CL_EXIT(MLNX_DBG_TRACE, g_mlnx_dbg_lvl);\r
        return status;\r
 }\r
@@ -966,7 +966,7 @@ cleanup:
                p_umv_buf->status = status;\r
        }\r
 \r
-       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %s\n", ib_get_err_str(status)));\r
+       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %d\n", status));\r
        CL_EXIT(MLNX_DBG_TRACE, g_mlnx_dbg_lvl);\r
        return status;\r
 }\r
@@ -1026,7 +1026,7 @@ cleanup:
                p_umv_buf->output_size = 0;\r
                p_umv_buf->status = status;\r
        }\r
-       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %s\n", ib_get_err_str(status)));\r
+       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %d\n", status));\r
        CL_EXIT(MLNX_DBG_TRACE, g_mlnx_dbg_lvl);\r
        return status;\r
 }\r
@@ -1077,7 +1077,7 @@ cleanup:
                p_umv_buf->output_size = 0;\r
                p_umv_buf->status = status;\r
        }\r
-       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %s\n", ib_get_err_str(status)));\r
+       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %d\n", status));\r
        CL_EXIT(MLNX_DBG_TRACE, g_mlnx_dbg_lvl);\r
        return status;\r
 }\r
@@ -1129,7 +1129,7 @@ cleanup:
                avo_p->mark = E_MARK_INVALID;\r
                cl_free( avo_p);\r
        }\r
-       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %s\n", ib_get_err_str(status)));\r
+       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %d\n", status));\r
        CL_EXIT(MLNX_DBG_TRACE, g_mlnx_dbg_lvl);\r
        return status;\r
 }\r
@@ -1363,7 +1363,7 @@ cleanup:
                p_umv_buf->output_size = 0;\r
                p_umv_buf->status = status;\r
        }\r
-       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %s\n", ib_get_err_str(status)));\r
+       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %d\n", status));\r
        CL_EXIT(MLNX_DBG_TRACE, g_mlnx_dbg_lvl);\r
        return status;\r
 }\r
@@ -1602,7 +1602,7 @@ cleanup:
                p_umv_buf->output_size = 0;\r
                p_umv_buf->status = status;\r
        }\r
-       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %s\n", ib_get_err_str(status)));\r
+       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %d\n", status));\r
        CL_EXIT(MLNX_DBG_TRACE, g_mlnx_dbg_lvl);\r
        return status;\r
 }\r
@@ -1717,7 +1717,7 @@ cleanup:
                p_umv_buf->output_size = 0;\r
                p_umv_buf->status = status;\r
        }\r
-       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %s\n", ib_get_err_str(status)));\r
+       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %d\n", status));\r
        CL_EXIT(MLNX_DBG_TRACE, g_mlnx_dbg_lvl);\r
        return status;\r
 }\r
@@ -1785,7 +1785,7 @@ cleanup:
                p_umv_buf->output_size = 0;\r
                p_umv_buf->status = status;\r
        }\r
-       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %s\n", ib_get_err_str(status)));\r
+       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %d\n", status));\r
        CL_EXIT(MLNX_DBG_TRACE, g_mlnx_dbg_lvl);\r
        return status;\r
 }\r
@@ -1823,7 +1823,7 @@ mlnx_destroy_qp (
        VALIDATE_INDEX(qp_idx, hobul_p->max_qp, IB_INVALID_QP_HANDLE, cleanup);\r
        if ( E_MARK_QP != hobul_p->qp_info_tbl[qp_idx].mark) {\r
                if (E_MARK_INVALID == hobul_p->qp_info_tbl[qp_idx].mark) {\r
-                       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %s\n", ib_get_err_str(IB_INVALID_QP_HANDLE)));\r
+                       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status IB_INVALID_QP_HANDLE\n"));\r
                        return IB_SUCCESS; // Already freed\r
                }\r
                status = IB_INVALID_QP_HANDLE;\r
@@ -1892,7 +1892,7 @@ mlnx_destroy_qp (
 cleanup_locked:\r
        cl_mutex_release(&hobul_p->qp_info_tbl[qp_idx].mutex);\r
 cleanup:\r
-       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %s\n", ib_get_err_str(status)));\r
+       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %d\n", status));\r
        CL_EXIT(MLNX_DBG_TRACE, g_mlnx_dbg_lvl);\r
        return status;\r
 }\r
@@ -2036,7 +2036,7 @@ cleanup:
                p_umv_buf->output_size = 0;\r
                p_umv_buf->status = status;\r
        }\r
-       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %s\n", ib_get_err_str(status)));\r
+       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %d\n", status));\r
        CL_EXIT(MLNX_DBG_TRACE, g_mlnx_dbg_lvl);\r
        return status;\r
 }\r
@@ -2136,7 +2136,7 @@ cleanup:
                p_umv_buf->output_size = 0;\r
                p_umv_buf->status = status;\r
        }\r
-       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %s\n", ib_get_err_str(status)));\r
+       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %d\n", status));\r
        CL_EXIT(MLNX_DBG_TRACE, g_mlnx_dbg_lvl);\r
        return status;\r
 }\r
@@ -2205,7 +2205,7 @@ cleanup:
                p_umv_buf->output_size = 0;\r
                p_umv_buf->status = status;\r
        }\r
-       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %s\n", ib_get_err_str(status)));\r
+       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %d\n", status));\r
        CL_EXIT(MLNX_DBG_TRACE, g_mlnx_dbg_lvl);\r
        return status;\r
 }\r
@@ -2280,7 +2280,7 @@ cleanup_locked:
        cl_mutex_release(&hobul_p->cq_info_tbl[cq_idx].mutex);\r
 \r
 cleanup:\r
-       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %s\n", ib_get_err_str(status)));\r
+       CL_TRACE(CL_DBG_ERROR, g_mlnx_dbg_lvl, ("completes with ERROR status %d\n", status));\r
        CL_EXIT(MLNX_DBG_TRACE, g_mlnx_dbg_lvl);\r
        return status;\r
 }\r