Sean,

with one host being both the client and the server, mckey does not work for me 
even without the
IPOIB PS changes, it used to work between two hosts with the below patch that 
forces the sender
to generate and poll completions on its TX packets.

please let me know how its going with mckey on your system, i am going to
test the librdmacm patches i have just sent with our mcast app.

Or.

Index: librdmacm/examples/mckey.c
===================================================================
--- librdmacm.orig/examples/mckey.c     2007-01-23 16:24:19.000000000 +0200
+++ librdmacm/examples/mckey.c  2007-01-23 16:50:13.000000000 +0200
@@ -452,10 +453,14 @@ static int run(void)
                if (is_sender) {
                        printf("initiating data transfers\n");
                        for (i = 0; i < connections; i++) {
-                               ret = post_sends(&test.nodes[i], 0);
+                               ret = post_sends(&test.nodes[i], 
IBV_SEND_SIGNALED);
                                if (ret)
                                        goto out;
-                       }
+                       }
+                       printf("polling data transfers completion\n");
+                       ret = poll_cqs();
+                       if (ret)
+                               goto out;
                } else {
                        printf("receiving data transfers\n");
                        ret = poll_cqs();


_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to