[openib-general] [PATCH] osm: additional check of tree topology
Yevgeny Kliteynik
kliteyn at dev.mellanox.co.il
Wed Dec 27 07:47:23 PST 2006
Hi Hal
As we've discussed before - added check for fat-tree topology
to be at least of rank 2.
--
Yevgeny
Signed-off-by: Yevgeny Kliteynik <kliteyn at dev.mellanox.co.il>
Subject: [PATCH] Added additional check of tree topology
Signed-off-by: Yevgeny Kliteynik <kliteyn at dev.mellanox.co.il>
---
osm/opensm/osm_ucast_ftree.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/osm/opensm/osm_ucast_ftree.c b/osm/opensm/osm_ucast_ftree.c
index 054e3c9..0473135 100644
--- a/osm/opensm/osm_ucast_ftree.c
+++ b/osm/opensm/osm_ucast_ftree.c
@@ -2877,6 +2877,11 @@ __osm_ftree_construct_fabric(
"Fabric rank is %u (>%u) - "
"fat-tree routing falls back to default routing\n",
__osm_ftree_fabric_get_rank(p_ftree), FAT_TREE_MAX_RANK);
+ else if (__osm_ftree_fabric_get_rank(p_ftree) < FAT_TREE_MIN_RANK)
+ osm_log(&p_ftree->p_osm->log, OSM_LOG_SYS,
+ "Fabric rank is %u (<%u) - "
+ "fat-tree routing falls back to default routing\n",
+ __osm_ftree_fabric_get_rank(p_ftree), FAT_TREE_MIN_RANK);
status = -1;
goto Exit;
}
--
1.4.4.1.GIT
More information about the general
mailing list