[openib-general] IPoIB still not working
England, Joshua J
jjengla at sandia.gov
Wed Dec 15 10:22:27 PST 2004
Roland,
Thanks for taking the time to debug this issue. I'll definitely pound on the stuff and let you know if anything breaks.
-JE
-----Original Message-----
From: openib-general-bounces at openib.org on behalf of Roland Dreier
Sent: Wed 12/15/2004 8:51 AM
To: Woodruff, Robert J
Cc: openib-general at openib.org
Subject: Re: [openib-general] IPoIB still not working
OK, I think the following change (already committed) should fix IPoIB
with PCI Express HCAs. Thanks to Josh England for giving me access to
a couple of his machines for debugging, and to Tziporet Koren for
pointing out this Arbel "feature."
- Roland
Index: infiniband/hw/mthca/mthca_av.c
===================================================================
--- infiniband/hw/mthca/mthca_av.c (revision 1331)
+++ infiniband/hw/mthca/mthca_av.c (working copy)
@@ -97,6 +97,9 @@
cpu_to_be32((ah_attr->grh.traffic_class << 20) |
ah_attr->grh.flow_label);
memcpy(av->dgid, ah_attr->grh.dgid.raw, 16);
+ } else {
+ /* Arbel workaround -- low byte of GID must be 2 */
+ av->dgid[3] = cpu_to_be32(2);
}
if (0) {
_______________________________________________
openib-general mailing list
openib-general at openib.org
http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20041215/85984fe7/attachment.html>
More information about the general
mailing list