[ofw] DAPL bug fixes committed
Smith, Stan
stan.smith at intel.com
Fri Apr 13 15:43:05 PDT 2007
[DAPL] Embellish debug output to include QP create items of interest
Index: dapl_ibal_util.c
===================================================================
--- dapl_ibal_util.c (revision 614)
+++ dapl_ibal_util.c (working copy)
@@ -1992,10 +1992,18 @@
ia_attr->transport_attr = NULL;
ia_attr->num_vendor_attr = 0;
ia_attr->vendor_attr = NULL;
-
- dapl_dbg_log (DAPL_DBG_TYPE_UTIL,
- "--> DsIMU_qHCA: = max_pzs %d\n",
- ia_attr->max_pzs );
+
+ dapl_dbg_log(DAPL_DBG_TYPE_UTIL,
+ " --> DsIMU_qHCA: (ver=%x) ep %d ep_q %d evd %d
evd_q %d\n",
+ ia_attr->hardware_version_major,
+ ia_attr->max_eps, ia_attr->max_dto_per_ep,
+ ia_attr->max_evds, ia_attr->max_evd_qlen );
+ dapl_dbg_log(DAPL_DBG_TYPE_UTIL,
+ " --> DsIMU_qHCA: mtu %llu rdma %llu iov %d lmr
%d rmr %d"
+ " rdma_io %d\n",
+ ia_attr->max_mtu_size, ia_attr->max_rdma_size,
+ ia_attr->max_iov_segments_per_dto,
ia_attr->max_lmrs,
+ ia_attr->max_rmrs, ia_attr->max_rdma_read_per_ep
);
}
if ( ep_attr != NULL )
@@ -2014,10 +2022,12 @@
ep_attr->max_request_iov = p_hca_attr->max_sges;
ep_attr->max_rdma_read_in = p_hca_attr->max_qp_resp_res;
ep_attr->max_rdma_read_out= p_hca_attr->max_qp_resp_res;
- dapl_dbg_log (DAPL_DBG_TYPE_UTIL,
- "--> DsIMU_qHCA: = rdma_rd in %d out %d\n",
- ep_attr->max_rdma_read_in,
- ep_attr->max_rdma_read_out );
+
+ dapl_dbg_log(DAPL_DBG_TYPE_UTIL,
+ " --> DsIMU_qHCA: msg %llu dto %d iov %d rdma
i%d,o%d\n",
+ ep_attr->max_mtu_size,
+ ep_attr->max_recv_dtos, ep_attr->max_recv_iov,
+ ep_attr->max_rdma_read_in,
ep_attr->max_rdma_read_out);
}
return DAT_SUCCESS;
}
More information about the ofw
mailing list