Index: D:/Windows/MLNX_VPI_2_1_2/ulp/opensm/user/osmtest/osmtest.c
===================================================================
--- D:/Windows/MLNX_VPI_2_1_2/ulp/opensm/user/osmtest/osmtest.c           
(revision 6460)
+++ D:/Windows/MLNX_VPI_2_1_2/ulp/opensm/user/osmtest/osmtest.c        
(revision 6461)
@@ -6019,7 +6019,7 @@
                                goto Exit;

                if (lmc != 0) {
-                              test_lid = cl_ntoh16(p_osmt->local_port.lid + 1);
+                             test_lid = cl_ntoh16(p_osmt->local_port.lid);

                                /* Another GUIDInfo Record test */
                                memset(&context, 0, sizeof(context));
Index: D:/Windows/MLNX_VPI_2_1_2/ulp/opensm/user/osmtest/osmt_slvl_vl_arb.c
===================================================================
--- D:/Windows/MLNX_VPI_2_1_2/ulp/opensm/user/osmtest/osmt_slvl_vl_arb.c        
 (revision 6460)
+++ D:/Windows/MLNX_VPI_2_1_2/ulp/opensm/user/osmtest/osmt_slvl_vl_arb.c      
(revision 6461)
@@ -510,7 +510,7 @@
                                goto Exit;

                if (lmc != 0) {
-                              test_lid = cl_ntoh16(p_osmt->local_port.lid + 1);
+                             test_lid = cl_ntoh16(p_osmt->local_port.lid);

                                status = osmt_query_vl_arb(p_osmt, test_lid, 0, 
1, NULL);
                                if (status != IB_SUCCESS)

Attachment: osmtest_lid.patch
Description: osmtest_lid.patch

_______________________________________________
ofw mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw

Reply via email to