[MTHCA] a typo, preventing right handling of IB_SEND_OPT_FENCE in user space
[mirror/winof/.git] / hw / mthca / user / mlnx_uvp_qp.c
index fa11e73..51d78be 100644 (file)
@@ -759,7 +759,6 @@ int mthca_arbel_post_send(struct ibv_qp *ibqp, struct _ib_send_wr *wr,
                              opcode);
                wmb();
                ((struct mthca_next_seg *) prev_wqe)->ee_nds =
-                       cl_hton32(MTHCA_NEXT_DBD | size);
                        cl_hton32(MTHCA_NEXT_DBD | size |
                          ((wr->send_opt & IB_SEND_OPT_FENCE) ?
                                                   MTHCA_NEXT_FENCE : 0));