[MTHCA] a typo, preventing right handling of IB_SEND_OPT_FENCE in user space
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Thu, 14 Dec 2006 18:09:51 +0000 (18:09 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Thu, 14 Dec 2006 18:09:51 +0000 (18:09 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@562 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

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 =
                              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));
                        cl_hton32(MTHCA_NEXT_DBD | size |
                          ((wr->send_opt & IB_SEND_OPT_FENCE) ?
                                                   MTHCA_NEXT_FENCE : 0));