<br><br>
<div><span class="gmail_quote">On 8/28/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.</blockquote>
<div> </div>
<div>Seems to work for all engines but I got a failure for a test case where lash fell back to min hop:</div>
<div>
<p>lash_core: ERR 4D02: Lane requirements (9) exceed available lanes (8) with starting lane (0)<br>ucast_mgr_route: lash: cannot build fwd tables.<br>osm_ucast_mgr_process: minhop tables configured on all switches<br>ERR 331D: LFT of switch 0xguid is not up to date.</p>

<p>Prior to this change, the LFTs were pushed for this fallback case (and no ERR 331D occured).</p>
<p>-- Hal<br></p></div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Signed-off-by: Sasha Khapyorsky <<a href="mailto:sashak@voltaire.com">sashak@voltaire.com</a>><br>---<br>
opensm/opensm/osm_ucast_mgr.c |    7 +------<br>1 files changed, 1 insertions(+), 6 deletions(-)<br><br>diff --git a/opensm/opensm/osm_ucast_mgr.c b/opensm/opensm/osm_ucast_mgr.c<br>index 629f628..8ba78f8 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>--<br>1.6.4<br><br>_______________________________________________<br>general mailing list<br><a href="mailto:general@lists.openfabrics.org">general@lists.openfabrics.org</a><br><a href="http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general">http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general</a><br>
<br>To unsubscribe, please visit <a href="http://openib.org/mailman/listinfo/openib-general">http://openib.org/mailman/listinfo/openib-general</a><br></blockquote></div><br>