[MLX4] fixed bug: send WQE buffer initialization was skipped in case of NDI provider...
[mirror/winof/.git] / hw / mlx4 / user / hca / qp.c
index c9d65d3..96879e9 100644 (file)
@@ -686,6 +686,7 @@ int mlx4_alloc_qp_buf(struct ibv_pd *pd, struct ibv_qp_cap *cap,
        }
 
        memset(qp->buf.buf, 0, qp->buf_size);
+       mlx4_qp_init_sq_ownership(qp);
 
        return 0;
 }