projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a660722
)
IB/ehca: Return srq_attr->max_sge in ehca_query_srq()
author
Joachim Fenkes
<fenkes@de.ibm.com>
Fri, 28 Sep 2007 15:20:05 +0000
(17:20 +0200)
committer
Roland Dreier
<rolandd@cisco.com>
Wed, 10 Oct 2007 02:59:15 +0000
(19:59 -0700)
Totally forgot this.
Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ehca/ehca_qp.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/ehca/ehca_qp.c
b/drivers/infiniband/hw/ehca/ehca_qp.c
index 2591651dac949ffdb64f66db3a5915169df1f030..e2bd62be11e71ba735af508731181cf14b2c9d1b 100644
(file)
--- a/
drivers/infiniband/hw/ehca/ehca_qp.c
+++ b/
drivers/infiniband/hw/ehca/ehca_qp.c
@@
-1753,6
+1753,7
@@
int ehca_query_srq(struct ib_srq *srq, struct ib_srq_attr *srq_attr)
}
srq_attr->max_wr = qpcb->max_nr_outst_recv_wr - 1;
+ srq_attr->max_sge = qpcb->actual_nr_sges_in_rq_wqe;
srq_attr->srq_limit = EHCA_BMASK_GET(
MQPCB_CURR_SRQ_LIMIT, qpcb->curr_srq_limit);