[ofa-general] [PATCH] opensm/osm_ucast_mgr.c: simplify fwd tables setup flow

Hal Rosenstock hal.rosenstock at gmail.com
Sat Aug 29 15:59:14 PDT 2009


On 8/29/09, Sasha Khapyorsky <sashak at voltaire.com> wrote:
>
> On 12:03 Fri 28 Aug     , Hal Rosenstock wrote:
> >
> > lash_core: ERR 4D02: Lane requirements (9) exceed available lanes (8)
> with
> > starting lane (0)
> > ucast_mgr_route: lash: cannot build fwd tables.
> > osm_ucast_mgr_process: minhop tables configured on all switches
> > ERR 331D: LFT of switch 0xguid is not up to date.
> >
> > Prior to this change, the LFTs were pushed for this fallback case (and no
> > ERR 331D occured).
>
> Nice catch.
>
> Such addition is needed to make a fallback to work properly:
>
> diff --git a/opensm/opensm/osm_ucast_mgr.c b/opensm/opensm/osm_ucast_mgr.c
> index b7e3893..39d825c 100644
> --- a/opensm/opensm/osm_ucast_mgr.c
> +++ b/opensm/opensm/osm_ucast_mgr.c
> @@ -1007,6 +1007,7 @@ int osm_ucast_mgr_process(IN osm_ucast_mgr_t * p_mgr)
>                /* If configured routing algorithm failed, use default
> MinHop */
>                osm_ucast_mgr_build_lid_matrices(p_mgr);
>                ucast_mgr_build_lfts(p_mgr);
> +               osm_ucast_mgr_set_fwd_tables(p_mgr);



Shouldn't this be osm_ucast_mgr_set_fwd_table ?

-- Hal

               p_osm->routing_engine_used = OSM_ROUTING_ENGINE_TYPE_MINHOP;
>        }
>
> Sasha
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20090829/74bebdcc/attachment.html>


More information about the general mailing list