[openib-general] [PATCHv2] osm: improving FatTree routing engine

Hal Rosenstock halr at voltaire.com
Wed Dec 20 06:29:19 PST 2006


Hi Yevgeny,

On Wed, 2006-12-20 at 03:54, Yevgeny Kliteynik wrote:
> Hi Hal
> 
> [V2 of the patch - not using max_lid_ho setter]
> 
> FatTree routing engine improvemets:
> 1. Improved building of LFTs
> 2. Setting max lid on osm switches
> 3. Using ucast manager LFT dump function
> 4. Stoped using global variable 'osm'
> 5. Improved logging
> 6. Some cosmetics

In general, it should be one "thought" per patch but since this is so
new I will incorporate this all in one patch.

> Signed-off-by: Yevgeny Kliteynik <kliteyn at dev.mellanox.co.il>

Thanks. Applied.

One minor comment below.

> ---
>  osm/opensm/osm_ucast_ftree.c |  439 +++++++++++++++++++++++++++---------------
>  1 files changed, 281 insertions(+), 158 deletions(-)
> 
> diff --git a/osm/opensm/osm_ucast_ftree.c b/osm/opensm/osm_ucast_ftree.c
> index 15e4cd0..0d7188a 100644
> --- a/osm/opensm/osm_ucast_ftree.c
> +++ b/osm/opensm/osm_ucast_ftree.c

[snip...]

> +void
> +ucast_mgr_dump_to_file(
> +   IN  osm_ucast_mgr_t *p_mgr,
> +   IN  const char *file_name,
> +   IN  void (*func)(cl_map_item_t *, void *));
> +
> +void
> +ucast_mgr_dump_lfts(
> +   IN  cl_map_item_t *p_map_item,
> +   void *cxt);
> +

Rather than declaring these here, should these go into osm_ucast_mgr.h ?

-- Hal





More information about the general mailing list