[ofa-general] Re: [PATCH 1/3] OpenSM: osm routing engine type

Sasha Khapyorsky sashak at voltaire.com
Sat Dec 22 05:28:04 PST 2007


On 16:41 Tue 18 Dec     , Al Chu wrote:
> Hey Sasha,
> 
> Here's the first patch in my set of patches to fix the incorrect routing
> engine reporting problem described in the earlier thread (thread: [PATCH
> 2/3] OpenSM: Fix incorrect reporting of routing engine/algorithm used).
> It's been redone as discussed in the thread.
> 
> This patch 1/3 just defines the enumeration of routing engine types, a
> few functions for mapping between enums and strings, and sticks a value
> into osm_opensm_t for tracking the routing engine.  The only interesting
> thing to note is due to current implementation, the function
> osm_routing_engine_type() considers a NULL pointer and the string "null"
> to mean that the minhop algorithm was specified.
> 
> Thanks,
> Al
> 
> -- 
> Albert Chu
> chu11 at llnl.gov
> 925-422-5311
> Computer Scientist
> High Performance Systems Division
> Lawrence Livermore National Laboratory

> From 2b8ffc06d734d3da9e5e5abba766548052aac923 Mon Sep 17 00:00:00 2001
> From: Albert L. Chu <chu11 at llnl.gov>
> Date: Tue, 18 Dec 2007 10:47:31 -0800
> Subject: [PATCH] support osm_routing_engine_type_t enumeration
> 
> 
> Signed-off-by: Albert L. Chu <chu11 at llnl.gov>

Applied. Thanks.

Sasha



More information about the general mailing list