[MLX4] fixed bug: send WQE buffer initialization was skipped in case of NDI provider...
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 1 Jun 2008 17:10:11 +0000 (17:10 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 1 Jun 2008 17:10:11 +0000 (17:10 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1224 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

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;
 }