[ofa-general] [PATCH 5/5] [uDAPL v2] dapl scm: use correct device attribute for max_rdma_read_out, max_qp_init_rd_atom
Arlin Davis
arlin.r.davis at intel.com
Thu Aug 14 17:07:04 PDT 2008
Signed-off by: Arlin Davis ardavis at ichips.intel.com
---
dapl/openib_scm/dapl_ib_util.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dapl/openib_scm/dapl_ib_util.c b/dapl/openib_scm/dapl_ib_util.c
index f7ee58b..11294fa 100644
--- a/dapl/openib_scm/dapl_ib_util.c
+++ b/dapl/openib_scm/dapl_ib_util.c
@@ -436,9 +436,9 @@ DAT_RETURN dapls_ib_query_hca (
ia_attr->max_eps = dev_attr.max_qp;
ia_attr->max_dto_per_ep = dev_attr.max_qp_wr;
ia_attr->max_rdma_read_in = dev_attr.max_qp_rd_atom;
- ia_attr->max_rdma_read_out = dev_attr.max_qp_rd_atom;
+ ia_attr->max_rdma_read_out = dev_attr.max_qp_init_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_out = dev_attr.max_qp_init_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;
@@ -494,7 +494,7 @@ DAT_RETURN dapls_ib_query_hca (
ep_attr->max_recv_iov = dev_attr.max_sge;
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_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,
--
1.5.2.5
More information about the general
mailing list