Skip to contentSkip to conversation

osm_sa_path_record.c: Fix rate setting issue in SA PR handling

PATCH New Hal Rosenstock 1 participant 1 message Jul 30, 2013 InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 osm_sa_path_record.c: Fix rate setting issue in SA PR handling

For switch egress ports, fix rate setting for an extended speed port

---
 opensm/osm_sa_path_record.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
opensm/osm_sa_path_record.c +1 -1
index 02aeb9f..e7ac607 100644
@@ -385,7 +385,7 @@ static ib_api_status_t pr_rcv_get_path_parms(IN osm_sa_t * sa,
 					  ib_port_info_compute_rate(p_pi,
 								    p_pi0->capability_mask & IB_PORT_CAP_HAS_EXT_SPEEDS)) > 0)
 			rate = ib_port_info_compute_rate(p_pi,
-							 p_pi->capability_mask & IB_PORT_CAP_HAS_EXT_SPEEDS);
+							 p_pi0->capability_mask & IB_PORT_CAP_HAS_EXT_SPEEDS);
 
 		if (sa->p_subn->opt.qos) {
 			/*
Signature · 6 lines
1.7.8.2

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html