]> git.openfabrics.org - ~shefty/rdma-win.git/commitdiff
[DAPL] Embellished debug output: max_eps max_evds
authorstansmith <stansmith@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Fri, 13 Apr 2007 22:28:14 +0000 (22:28 +0000)
committerstansmith <stansmith@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Fri, 13 Apr 2007 22:28:14 +0000 (22:28 +0000)
       Interesting info to debug QP create failures.

git-svn-id: svn://openib.tc.cornell.edu/gen1@629 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

trunk/ulp/dapl/dapl/ibal/dapl_ibal_util.c

index 34afba3d0a373620b9718ec5c37fe1444bd05fc5..e39cb5deafcc44703817196da07f979b43d32114 100644 (file)
@@ -1992,10 +1992,18 @@ DAT_RETURN dapls_ib_query_hca (
         ia_attr->transport_attr           = NULL;\r
         ia_attr->num_vendor_attr          = 0;\r
         ia_attr->vendor_attr              = NULL;\r
-\r
-               dapl_dbg_log (DAPL_DBG_TYPE_UTIL, \r
-              "--> DsIMU_qHCA: = max_pzs %d\n", \r
-                         ia_attr->max_pzs );\r
+       \r
+       dapl_dbg_log(DAPL_DBG_TYPE_UTIL, \r
+                       " --> DsIMU_qHCA: (ver=%x) ep %d ep_q %d evd %d evd_q %d\n", \r
+                       ia_attr->hardware_version_major,\r
+                       ia_attr->max_eps, ia_attr->max_dto_per_ep,\r
+                       ia_attr->max_evds, ia_attr->max_evd_qlen );\r
+       dapl_dbg_log(DAPL_DBG_TYPE_UTIL, \r
+                       " --> DsIMU_qHCA: mtu %llu rdma %llu iov %d lmr %d rmr %d"\r
+                       " rdma_io %d\n", \r
+                       ia_attr->max_mtu_size, ia_attr->max_rdma_size,\r
+                       ia_attr->max_iov_segments_per_dto, ia_attr->max_lmrs, \r
+                       ia_attr->max_rmrs, ia_attr->max_rdma_read_per_ep );\r
     }\r
 \r
     if ( ep_attr != NULL )\r
@@ -2014,10 +2022,12 @@ DAT_RETURN dapls_ib_query_hca (
         ep_attr->max_request_iov  = p_hca_attr->max_sges;\r
         ep_attr->max_rdma_read_in = p_hca_attr->max_qp_resp_res;\r
         ep_attr->max_rdma_read_out= p_hca_attr->max_qp_resp_res;\r
-               dapl_dbg_log (DAPL_DBG_TYPE_UTIL, \r
-              "--> DsIMU_qHCA: = rdma_rd in %d out %d\n", \r
-                         ep_attr->max_rdma_read_in,\r
-                         ep_attr->max_rdma_read_out );\r
+       \r
+       dapl_dbg_log(DAPL_DBG_TYPE_UTIL, \r
+                       " --> DsIMU_qHCA: msg %llu dto %d iov %d rdma i%d,o%d\n", \r
+                       ep_attr->max_mtu_size,\r
+                       ep_attr->max_recv_dtos, ep_attr->max_recv_iov,\r
+                       ep_attr->max_rdma_read_in, ep_attr->max_rdma_read_out);\r
     }\r
        return DAT_SUCCESS;\r
 }\r