]> git.openfabrics.org - ~ardavis/dapl.git/commitdiff
r8008: Set max rdma read per EP attributes
authorArlin Davis <ardavis@ichips.intel.com>
Wed, 14 Jun 2006 16:17:39 +0000 (16:17 +0000)
committerJames Lentini <jlentini@netapp.com>
Wed, 14 Jun 2006 16:17:39 +0000 (16:17 +0000)
Signed-off-by: Arlin Davis <ardavis@ichips.intel.com>
Signed-off-by: James Lentini <jlentini@netapp.com>
dapl/openib_cma/dapl_ib_util.c

index 76a2cdf3f627f3024652a438b364fd5a61330ecb..8754cc52f5a8c5df8446cf4deac39cdd7859eb38 100644 (file)
@@ -444,7 +444,10 @@ DAT_RETURN dapls_ib_query_hca(IN DAPL_HCA *hca_ptr,
                ia_attr->hardware_version_major = dev_attr.hw_ver;
                ia_attr->max_eps                  = dev_attr.max_qp;
                ia_attr->max_dto_per_ep           = dev_attr.max_qp_wr;
-               ia_attr->max_rdma_read_per_ep     = dev_attr.max_qp_rd_atom;
+               ia_attr->max_rdma_read_per_ep_in  = dev_attr.max_qp_rd_atom;
+               ia_attr->max_rdma_read_per_ep_out = dev_attr.max_qp_rd_atom;
+               ia_attr->max_rdma_read_per_ep_in_guaranteed  = DAT_TRUE;
+               ia_attr->max_rdma_read_per_ep_out_guaranteed = DAT_TRUE;
                ia_attr->max_evds                 = dev_attr.max_cq;
                ia_attr->max_evd_qlen             = dev_attr.max_cqe;
                ia_attr->max_iov_segments_per_dto = dev_attr.max_sge;
@@ -468,10 +471,11 @@ DAT_RETURN dapls_ib_query_hca(IN DAPL_HCA *hca_ptr,
                        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, 
-                       " query_hca: msg %llu rdma %llu iov %d lmr %d rmr %d\n", 
+                       " query_hca: msg %llu rdma %llu iov %d lmr %d rmr %d"
+                       " rd_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_rmrs, ia_attr->max_rdma_read_per_ep_in );
        }
        
        if (ep_attr != NULL) {