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:
c0be5fb
)
IB/ehca: Fix number of send WRs reported for new QP
author
Stefan Roscher
<stefan.roscher@de.ibm.com>
Thu, 24 May 2007 14:51:08 +0000
(16:51 +0200)
committer
Roland Dreier
<rolandd@cisco.com>
Thu, 24 May 2007 21:02:39 +0000
(14:02 -0700)
Due to a typo, the driver was reporting the wrong number of "actual send
WRs" after ehca_create_qp().
Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ehca/hcp_if.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/ehca/hcp_if.c
b/drivers/infiniband/hw/ehca/hcp_if.c
index 7f0beec74f7006e76fff3e3ee07e81aecbfa9bc0..5766ae3a202995bebb306f4aae1f4580a888109a 100644
(file)
--- a/
drivers/infiniband/hw/ehca/hcp_if.c
+++ b/
drivers/infiniband/hw/ehca/hcp_if.c
@@
-331,7
+331,7
@@
u64 hipz_h_alloc_resource_qp(const struct ipz_adapter_handle adapter_handle,
0);
qp->ipz_qp_handle.handle = outs[0];
qp->real_qp_num = (u32)outs[1];
- parms->act_nr_send_
sg
es =
+ parms->act_nr_send_
wq
es =
(u16)EHCA_BMASK_GET(H_ALL_RES_QP_ACT_OUTST_SEND_WR, outs[2]);
parms->act_nr_recv_wqes =
(u16)EHCA_BMASK_GET(H_ALL_RES_QP_ACT_OUTST_RECV_WR, outs[2]);