Message ID | 1274473115-3153-1-git-send-email-jaschut@sandia.gov (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
diff --git a/opensm/opensm/osm_qos.c b/opensm/opensm/osm_qos.c index 6bbbfa2..b8c3111 100644 --- a/opensm/opensm/osm_qos.c +++ b/opensm/opensm/osm_qos.c @@ -230,12 +230,12 @@ static int qos_extports_setup(osm_sm_t * sm, osm_node_t *node, &qcfg->sl2vl); } - for (i = 1; i < num_ports; i++) { + for (i = 0; i < num_ports; i++) { p = osm_node_get_physp_ptr(node, i); force_update = p->need_update || sm->p_subn->need_update; - for (j = 0; j < num_ports; j++) - if (sl2vl_update_table(sm, p, i, i << 8 | j, - force_update, &qcfg->sl2vl)) + for (j = 1; j < num_ports; j++) + if (sl2vl_update_table(sm, p, i, j, force_update, + &qcfg->sl2vl)) ret = -1; }