Skip to contentSkip to conversation

opensm/osm_link_mgr.c: Fix sending PortInfo Set for ports supporting extended speed

PATCH In review Hal Rosenstock 2 participants 2 messages May 9, 2012 – May 28, 2012 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 opensm/osm_link_mgr.c: Fix sending PortInfo Set for ports supporting extended speed

Comparison to LinkSpeedExtEnabled should use LinkSpeedExtSupported rather than LinkSpeedSupported

---

opensm/osm_link_mgr.c +1 -1
index 88b61da..d9241be 100644
@@ -393,7 +393,7 @@ static int link_mgr_set_physp_pi(osm_sm_t * sm, IN osm_physp_t * p_physp,
 				if (sm->p_subn->opt.force_link_speed_ext &&
 				    (sm->p_subn->opt.force_link_speed_ext != IB_LINK_SPEED_EXT_SET_LSES ||
 				     p_pi->link_speed_ext_enabled !=
-				     ib_port_info_get_link_speed_sup(p_pi))) {
+				     ib_port_info_get_link_speed_ext_sup(p_pi))) {
 					p_pi->link_speed_ext_enabled = sm->p_subn->opt.force_link_speed_ext;
 					if (memcmp(&p_pi->link_speed_ext_enabled,
 						   &p_old_pi->link_speed_ext_enabled,

--
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

#2 lore raw
In reply to a message not in the archive

Hi Hal,

Quoted 7 lines · Hal Rosenstock

Comparison to LinkSpeedExtEnabled should use LinkSpeedExtSupported rather than LinkSpeedSupported

---

Applied, thanks.
--
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