[Openib-windows] [PATCH] alts test on port 2

Yossi Leybovich sleybo at mellanox.co.il
Sun Sep 10 05:47:15 PDT 2006


Fab
 
We tried to run alts test on port 2 and reg_svc fail .
This patch fix the problem 
 
10x
Yossi 
 
Singed-off-by:Yossi Leybovich (sleybo at mellanox.co.il)
Index: ibquery.c
===================================================================
--- ibquery.c (revision 1658)
+++ ibquery.c (working copy)
@@ -175,8 +175,8 @@
    if (p_port_attr->link_state == IB_LINK_ACTIVE)
    {
     query_portguid = p_port_attr->port_guid;
-    port_gid = p_port_attr->p_gid_table[i];
-    pkey = p_port_attr->p_pkey_table[i];
+    port_gid = p_port_attr->p_gid_table[0];
+    pkey = p_port_attr->p_pkey_table[0];
     break;
    }
   }

-------------- next part --------------
A non-text attachment was scrubbed...
Name: alts_reg_svc.patch
Type: application/octet-stream
Size: 479 bytes
Desc: alts_reg_svc.patch
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20060910/974db9a9/attachment.obj>


More information about the ofw mailing list