Signed-off-by: Michael S. Tsirkin <[EMAIL PROTECTED]>
---
diff --git a/src/verbs.c b/src/verbs.c
index 78dfabf..4e7beff 100644
--- a/src/verbs.c
+++ b/src/verbs.c
@@ -484,6 +484,8 @@ int mlx4_modify_qp(struct ibv_qp *qp, struct ibv_qp_attr
*attr,
mlx4_cq_clean(to_mcq(qp->send_cq), qp->qp_num, NULL);
mlx4_init_qp_indices(to_mqp(qp));
+ if (!qp->srq)
+ *to_mqp(qp)->db = 0;
}
return ret;
--
Michael S. Tsirkin - Staff Engineer, Mellanox Technologies Ltd.
Of all the ways of starting a fire, the best is dry matches.
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general