[ofa-general] [PATCH 1/3] OpenSM: osm routing engine type
Al Chu
chu11 at llnl.gov
Tue Dec 18 16:41:32 PST 2007
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-support-osm_routing_engine_type_t-enumeration.patch
Type: text/x-patch
Size: 5497 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20071218/b9e2cee0/attachment.bin>
More information about the general
mailing list