<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>RE: [openib-general] IPoIB still not working</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>
<P><FONT SIZE=2>Roland,<BR>
<BR>
Thanks for taking the time to debug this issue. I'll definitely pound on the stuff and let you know if anything breaks.<BR>
<BR>
-JE<BR>
<BR>
-----Original Message-----<BR>
From: openib-general-bounces@openib.org on behalf of Roland Dreier<BR>
Sent: Wed 12/15/2004 8:51 AM<BR>
To: Woodruff, Robert J<BR>
Cc: openib-general@openib.org<BR>
Subject: Re: [openib-general] IPoIB still not working<BR>
<BR>
OK, I think the following change (already committed) should fix IPoIB<BR>
with PCI Express HCAs. Thanks to Josh England for giving me access to<BR>
a couple of his machines for debugging, and to Tziporet Koren for<BR>
pointing out this Arbel "feature."<BR>
<BR>
- Roland<BR>
<BR>
Index: infiniband/hw/mthca/mthca_av.c<BR>
===================================================================<BR>
--- infiniband/hw/mthca/mthca_av.c (revision 1331)<BR>
+++ infiniband/hw/mthca/mthca_av.c (working copy)<BR>
@@ -97,6 +97,9 @@<BR>
cpu_to_be32((ah_attr->grh.traffic_class << 20) |<BR>
ah_attr->grh.flow_label);<BR>
memcpy(av->dgid, ah_attr->grh.dgid.raw, 16);<BR>
+ } else {<BR>
+ /* Arbel workaround -- low byte of GID must be 2 */<BR>
+ av->dgid[3] = cpu_to_be32(2);<BR>
}<BR>
<BR>
if (0) {<BR>
_______________________________________________<BR>
openib-general mailing list<BR>
openib-general@openib.org<BR>
<A HREF="http://openib.org/mailman/listinfo/openib-general">http://openib.org/mailman/listinfo/openib-general</A><BR>
<BR>
To unsubscribe, please visit <A HREF="http://openib.org/mailman/listinfo/openib-general">http://openib.org/mailman/listinfo/openib-general</A><BR>
<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>