[ofa-general] [PATCH 5/6][uDAPL v1] dapl scm: update max_rdma_read_iov, max_rdma_write_iov EP attributes during query

Arlin Davis arlin.r.davis at intel.com
Thu Aug 14 16:19:49 PDT 2008


Signed-off by: Arlin Davis ardavis at ichips.intel.com
---
 dapl/openib_scm/dapl_ib_util.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dapl/openib_scm/dapl_ib_util.c b/dapl/openib_scm/dapl_ib_util.c
index bc4ddbc..76bde89 100644
--- a/dapl/openib_scm/dapl_ib_util.c
+++ b/dapl/openib_scm/dapl_ib_util.c
@@ -486,6 +486,8 @@ DAT_RETURN dapls_ib_query_hca (
 		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_init_rd_atom;
+		ep_attr->max_rdma_read_iov= dev_attr.max_sge;
+		ep_attr->max_rdma_write_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,
-- 
1.5.2.5





More information about the general mailing list