]> git.openfabrics.org - ~ardavis/dapl.git/commitdiff
r6288: Set max_iov_segments_per_rdma_read and max_rdma_read_iov using the correct
authorJames Lentini <jlentini@netapp.com>
Thu, 6 Apr 2006 15:31:40 +0000 (15:31 +0000)
committerJames Lentini <jlentini@netapp.com>
Thu, 6 Apr 2006 15:31:40 +0000 (15:31 +0000)
attribute.
Signed-off-by: James Lentini <jlentini@netapp.com>
dapl/openib_cma/dapl_ib_util.c

index ef00ce85bf101b1daaa11ab9140a96778e1d578f..7254e85d4a2f4f1059464fb79f0f654b2c56bb81 100644 (file)
@@ -442,7 +442,7 @@ DAT_RETURN dapls_ib_query_hca(IN DAPL_HCA *hca_ptr,
                ia_attr->transport_attr           = NULL;
                ia_attr->num_vendor_attr          = 0;
                ia_attr->vendor_attr              = NULL;
-               ia_attr->max_iov_segments_per_rdma_read = dev_attr.max_sge_rd;
+               ia_attr->max_iov_segments_per_rdma_read = dev_attr.max_sge;
 
                dapl_dbg_log(DAPL_DBG_TYPE_UTIL, 
                        " query_hca: (ver=%x) ep %d ep_q %d evd %d evd_q %d\n", 
@@ -465,7 +465,7 @@ DAT_RETURN dapls_ib_query_hca(IN DAPL_HCA *hca_ptr,
                ep_attr->max_request_iov  = dev_attr.max_sge;
                ep_attr->max_rdma_read_in = dev_attr.max_qp_rd_atom;
                ep_attr->max_rdma_read_out= dev_attr.max_qp_rd_atom;
-               ep_attr->max_rdma_read_iov= dev_attr.max_sge_rd;
+               ep_attr->max_rdma_read_iov= dev_attr.max_sge;
                dapl_dbg_log(DAPL_DBG_TYPE_UTIL, 
                        " query_hca: MAX msg %llu dto %d iov %d rdma i%d,o%d\n", 
                        ep_attr->max_mtu_size,