aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorHoang-Nam Nguyen <hnguyen@de.ibm.com>2007-07-09 09:28:18 -0400
committerRoland Dreier <rolandd@cisco.com>2007-07-09 23:12:27 -0400
commit15f001ec47b049051f679f8b8c965ac9aae95b3e (patch)
tree1b597102f72cd6d74e37bd8c0febede50e1e92cd /drivers/infiniband
parent85f003172fc130626261730141ed021258e81f85 (diff)
IB/ehca: Report RDMA atomic attributes in query_qp()
Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/hw/ehca/ehca_qp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/ehca/ehca_qp.c b/drivers/infiniband/hw/ehca/ehca_qp.c
index 3a4b2bfdb06b..ec34ff432900 100644
--- a/drivers/infiniband/hw/ehca/ehca_qp.c
+++ b/drivers/infiniband/hw/ehca/ehca_qp.c
@@ -1491,6 +1491,9 @@ int ehca_query_qp(struct ib_qp *qp,
1491 qp_attr->alt_port_num = qpcb->alt_phys_port; 1491 qp_attr->alt_port_num = qpcb->alt_phys_port;
1492 qp_attr->alt_timeout = qpcb->timeout_al; 1492 qp_attr->alt_timeout = qpcb->timeout_al;
1493 1493
1494 qp_attr->max_dest_rd_atomic = qpcb->rdma_nr_atomic_resp_res;
1495 qp_attr->max_rd_atomic = qpcb->rdma_atomic_outst_dest_qp;
1496
1494 /* primary av */ 1497 /* primary av */
1495 qp_attr->ah_attr.sl = qpcb->service_level; 1498 qp_attr->ah_attr.sl = qpcb->service_level;
1496 1499