[ofa-general] Re: [PATCH] opensm/osm_ucast_file.c: Fix return status from do_ucast_file_load when file name is not provided
Sasha Khapyorsky
sashak at voltaire.com
Wed Aug 12 03:25:01 PDT 2009
On 06:06 Wed 12 Aug , Hal Rosenstock wrote:
>
> What I see is the following when no files are specified:
> osm_ucast_mgr_process: file tables configured on all switches
>
> so file doesn't appear to be falling back in this case.
if (!r->build_lid_matrices ||
(ret = r->build_lid_matrices(r->context)) > 0)
ret = osm_ucast_mgr_build_lid_matrices(&osm->sm.ucast_mgr);
So when method is defined and it returns a positive value (file name is
not specified) OpenSM will build lid matrices using default algorithm
and will continue with LFT file. This is how things were supposed to
work.
Sasha
More information about the general
mailing list