[openib-general] [PATCH][MINOR]OpenSM/osm_sa_path_record.c: In __osm_pr_rcv_get_port_pair_paths, use ib_path_rec_num_path routine

Hal Rosenstock halr at voltaire.com
Tue Jul 18 12:11:04 PDT 2006


OpenSM/osm_sa_path_record.c: In __osm_pr_rcv_get_port_pair_paths, use
ib_path_rec_num_path routine

Signed-off-by: Hal Rosenstock <halr at voltaire.com>

Index: opensm/osm_sa_path_record.c
===================================================================
--- opensm/osm_sa_path_record.c	(revision 8575)
+++ opensm/osm_sa_path_record.c	(working copy)
@@ -874,7 +874,7 @@ __osm_pr_rcv_get_port_pair_paths(
   /* If SubnAdmGet, assume NumbPaths 1 (1.2 erratum) */
   if( p_sa_mad->method != IB_MAD_METHOD_GET )
     if( comp_mask & IB_PR_COMPMASK_NUMBPATH )
-      iterations = p_pr->num_path & 0x7F;
+      iterations = ib_path_rec_num_path( p_pr );
     else
       iterations = (uintn_t)(-1);
   else







More information about the general mailing list