[ofa-general] [PATCH 4/4] opensm/osm_subnet.c support subnet configuration rescan and update

Sasha Khapyorsky sashak at voltaire.com
Tue Feb 3 04:37:06 PST 2009


On 16:34 Mon 26 Jan     , Eli Dorfman (Voltaire) wrote:

[snip...]
> +
> +static void opts_setup_routing_engine(osm_subn_t *p_subn, void *p_val)
> +{
> +	char *routing_engine_names = (char *) p_val;
> +
> +	destroy_routing_engines(p_subn->p_osm);
> +	setup_routing_engines(p_subn->p_osm, routing_engine_names);
> +}

This probably can work with updn and minhops, but it certainly will be
destructive when LASH routing engine is used. LASH stores internal data
between sweep cycles, it is used to answer correct SL value in SA
PathRecord queries. So I think routing engine "switch" should  be a bit
smarter.

Sasha



More information about the general mailing list