<br><br>
<div><span class="gmail_quote">On 8/29/09, <b class="gmail_sendername">Sasha Khapyorsky</b> <<a href="mailto:sashak@voltaire.com">sashak@voltaire.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>Simplify (and unify) forwarding tables setup decision flow.<br><br>Signed-off-by: Sasha Khapyorsky <<a href="mailto:sashak@voltaire.com">sashak@voltaire.com</a>><br>
---<br>opensm/opensm/osm_ucast_mgr.c | 8 ++------<br>1 files changed, 2 insertions(+), 6 deletions(-)<br><br>diff --git a/opensm/opensm/osm_ucast_mgr.c b/opensm/opensm/osm_ucast_mgr.c<br>index 629f628..45a4a7e 100644<br>
--- a/opensm/opensm/osm_ucast_mgr.c<br>+++ b/opensm/opensm/osm_ucast_mgr.c<br>@@ -463,8 +463,6 @@ static void ucast_mgr_process_tbl(IN cl_map_item_t * p_map_item,<br> }<br> }<br><br>- set_fwd_tbl_top(p_mgr, p_sw);<br>
-<br> if (p_mgr->p_subn->opt.lmc)<br> free_ports_priv(p_mgr);<br><br>@@ -977,8 +975,6 @@ static int ucast_mgr_build_lfts(osm_ucast_mgr_t * p_mgr)<br> cl_qmap_apply_func(&p_mgr->p_subn->sw_guid_tbl, ucast_mgr_process_tbl,<br>
p_mgr);<br><br>- ucast_mgr_pipeline_fwd_tbl(p_mgr);<br>-<br> cl_qlist_remove_all(&p_mgr->port_order_list);<br><br> return 0;<br>@@ -1025,8 +1021,7 @@ static int ucast_mgr_route(struct osm_routing_engine *r, osm_opensm_t * osm)<br>
<br> osm->routing_engine_used = osm_routing_engine_type(r->name);<br><br>- if (r->ucast_build_fwd_tables)<br>- osm_ucast_mgr_set_fwd_table(&osm->sm.ucast_mgr);<br>+ osm_ucast_mgr_set_fwd_table(&osm->sm.ucast_mgr);<br>
<br> return 0;<br>}<br>@@ -1063,6 +1058,7 @@ int osm_ucast_mgr_process(IN osm_ucast_mgr_t * p_mgr)<br> /* If configured routing algorithm failed, use default MinHop */<br> osm_ucast_mgr_build_lid_matrices(p_mgr);<br>
ucast_mgr_build_lfts(p_mgr);<br>+ osm_ucast_mgr_set_fwd_tables(p_mgr);</blockquote>
<div> </div>
<div> osm_ucast_mgr_set_fwd_table(p_mgr); ?</div>
<div> </div><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"> p_osm->routing_engine_used = OSM_ROUTING_ENGINE_TYPE_MINHOP;<br> }<br><br>--<br>1.6.4<br>
<br></blockquote></div><br>