From 371d61335edacea8f1a72e328be29d6635c99d72 Mon Sep 17 00:00:00 2001 From: James Lentini Date: Thu, 6 Apr 2006 15:31:40 +0000 Subject: [PATCH] r6288: Set max_iov_segments_per_rdma_read and max_rdma_read_iov using the correct attribute. Signed-off-by: James Lentini --- dapl/openib_cma/dapl_ib_util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dapl/openib_cma/dapl_ib_util.c b/dapl/openib_cma/dapl_ib_util.c index ef00ce8..7254e85 100644 --- a/dapl/openib_cma/dapl_ib_util.c +++ b/dapl/openib_cma/dapl_ib_util.c @@ -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, -- 2.46.0