[openib-general] IPoIB still not working

Roland Dreier roland at topspin.com
Tue Dec 7 13:08:21 PST 2004


Please try applying this patch (which will dump the SA data portion of
MCMember MADs).  If you could send the output from the 64-bit and
32-bit systems that may help us figure out where the bug is.

 Thanks,
  Roland

Index: infiniband/core/sa_query.c
===================================================================
--- infiniband/core/sa_query.c	(revision 1314)
+++ infiniband/core/sa_query.c	(working copy)
@@ -662,6 +662,18 @@
 	ib_pack(mcmember_rec_table, ARRAY_SIZE(mcmember_rec_table),
 		rec, query->sa_query.mad->data);
 
+	{
+		int i;
+
+		for (i = 0; i < 104; ++i) {
+			if (i % 4 == 0)
+				printk("[%02x] ", i);
+			printk(" %02x", query->sa_query.mad->data[i]);
+			if ((i + 1) % 4 == 0)
+				printk("\n");
+		}
+	}
+
 	*sa_query = &query->sa_query;
 	ret = send_mad(&query->sa_query, timeout_ms);
 	if (ret) {



More information about the general mailing list