Skip to contentSkip to conversation

opensm: implement 'connect_roots' option in fat-tree routing

PATCH Applied Yevgeny Kliteynik 2 participants 2 messages Dec 6, 2009 – Dec 13, 2009 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 opensm: implement 'connect_roots' option in fat-tree routing

Implement 'connect_roots' option in fat-tree routing and mention this fact in all the help/usage/man messages.

---
 opensm/include/opensm/osm_subnet.h |    4 +-
 opensm/man/opensm.8.in             |    4 +-
 opensm/opensm/main.c               |    4 +-
 opensm/opensm/osm_ucast_ftree.c    |   90 ++++++++++++++++++++++++++++++++++++
 4 files changed, 96 insertions(+), 6 deletions(-)
opensm/include/opensm/osm_subnet.h +2 -2
index 3c08689..fce1862 100644
@@ -374,8 +374,8 @@ typedef struct osm_subn_opt {
 *
 *	connect_roots
 *		The option which will enforce root to root connectivity with
-*		up/down routing engine (even if this violates "pure" deadlock
-*		free up/down algorithm)
+*		up/down and fat-tree routing engines (even if this violates
+*		"pure" deadlock free up/down or fat-tree algorithm)
 *
 *	use_ucast_cache
 *		When TRUE enables unicast routing cache.
opensm/man/opensm.8.in +2 -2
index 0baee7d..e66b946 100644
@@ -171,8 +171,8 @@ recalculations: one when the host goes down, and the other when
 the host comes back online.
 .TP
 \fB\-z\fR, \fB\-\-connect_roots\fR
-This option enforces a routing engine (currently up/down
-only) to make connectivity between root switches and in
+This option enforces routing engines (up/down and
+fat-tree) to make connectivity between root switches and in
 this way to be fully IBA complaint. In many cases this can
 violate "pure" deadlock free algorithm, so use it carefully.
 .TP
opensm/opensm/main.c +2 -2
index fc002d8..cf38577 100644
@@ -186,8 +186,8 @@ static void show_usage(void)
 	printf("--sm_sl <sl number>\n"
 	       "          Sets the SL to use to communicate with the SM/SA. Defaults to 0.\n\n");
 	printf("--connect_roots, -z\n"
-	       "          This option enforces a routing engine (currently\n"
-	       "          up/down only) to make connectivity between root switches\n"
+	       "          This option enforces routing engines (up/down and \n"
+	       "          fat-tree) to make connectivity between root switches\n"
 	       "          and in this way be IBA compliant. In many cases,\n"
 	       "          this can violate \"pure\" deadlock free algorithm, so\n"
 	       "          use it carefully.\n\n");
opensm/opensm/osm_ucast_ftree.c +90 -0

102 lines not on this page · raw message

Signature · 6 lines
1.5.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 4B1B7737.3010408-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org