Hi,

 There is a bug in mlx4_post_send(). A data that is sent inline and
consists from multiple small sges isn't copied properly into wqe.
The following patch fixes it for me.

Signed-off-by: Gleb Natapov <[EMAIL PROTECTED]>

diff --git a/src/qp.c b/src/qp.c
index 66ee309..83a4fd4 100644
--- a/src/qp.c
+++ b/src/qp.c
@@ -288,6 +288,7 @@ int mlx4_post_send(struct ibv_qp *ibqp, struct ibv_send_wr 
*wr,
                                memcpy(wqe, addr, len);
                                wqe += len;
                                seg_len += len;
+                               off += len;
                        }
 
                        if (seg_len) {
--
                        Gleb.
_______________________________________________
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