MTHCA changes to correspond to the libibverbs changes. Signed-off-by: Ralph Campbell <[EMAIL PROTECTED]>
Index: src/userspace/libmthca/src/verbs.c =================================================================== --- src/userspace/libmthca/src/verbs.c (revision 8843) +++ src/userspace/libmthca/src/verbs.c (working copy) @@ -262,6 +262,7 @@ { struct mthca_cq *cq = to_mcq(ibcq); struct mthca_resize_cq cmd; + struct ibv_resize_cq_resp resp; struct ibv_mr *mr; struct mthca_buf buf; int old_cqe; @@ -297,7 +298,8 @@ old_cqe = ibcq->cqe; cmd.lkey = mr->lkey; - ret = ibv_cmd_resize_cq(ibcq, cqe - 1, &cmd.ibv_cmd, sizeof cmd); + ret = ibv_cmd_resize_cq(ibcq, cqe - 1, &cmd.ibv_cmd, sizeof cmd, + &resp, sizeof resp); if (ret) { mthca_dereg_mr(mr); mthca_free_buf(&buf); _______________________________________________ openib-general mailing list openib-general@openib.org http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general