[openib-general] [PATCH][MINOR]OpenSM/osm_qos.c: In vl_high_limit_update, use ib_port_info_set_state_no_change routine

Hal Rosenstock halr at voltaire.com
Wed Jul 19 04:57:26 PDT 2006


OpenSM/osm_qos.c: In vl_high_limit_update, use
ib_port_info_set_state_no_change routine

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

Index: opensm/osm_qos.c
===================================================================
--- opensm/osm_qos.c	(revision 8584)
+++ opensm/osm_qos.c	(working copy)
@@ -247,8 +247,7 @@ static ib_api_status_t vl_high_limit_upd
 	memcpy(payload, p_pi, sizeof(ib_port_info_t));
 
 	p_pi = (ib_port_info_t *) payload;
-	p_pi->state_info2 = 0;
-	ib_port_info_set_port_state(p_pi, IB_LINK_NO_CHANGE);
+	ib_port_info_set_state_no_change(p_pi);
 
 	p_pi->vl_high_limit = qcfg->vl_high_limit;
 







More information about the general mailing list