Roland, I see this in kernel:

                ((struct mthca_next_seg *) prev_wqe)->nda_op =
                        cpu_to_be32((ind << qp->rq.wqe_shift) | 1);
                wmb();
                ((struct mthca_next_seg *) prev_wqe)->ee_nds =
                        cpu_to_be32(MTHCA_NEXT_DBD | size);

but userspace does not have wmb here.
Is it needed?

-- 
MST
_______________________________________________
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

Reply via email to