Messages like "fall back to default routing" no longer make sense.
Tweak as necessary.
Al
--
Albert Chu
[EMAIL PROTECTED]
925-422-5311
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory
>From 328f1674118204e51143887346ab356c0ef67492 Mon Sep 17 00:00:00 2001
From: Albert Chu <[EMAIL PROTECTED]>
Date: Fri, 12 Sep 2008 14:22:57 -0700
Subject: [PATCH] cleanup comments for changes to routing
Signed-off-by: Albert Chu <[EMAIL PROTECTED]>
---
opensm/opensm/osm_ucast_ftree.c | 21 +++++++--------------
1 files changed, 7 insertions(+), 14 deletions(-)
diff --git a/opensm/opensm/osm_ucast_ftree.c b/opensm/opensm/osm_ucast_ftree.c
index 83da01c..8c26427 100644
--- a/opensm/opensm/osm_ucast_ftree.c
+++ b/opensm/opensm/osm_ucast_ftree.c
@@ -3552,8 +3552,7 @@ static int __osm_ftree_construct_fabric(IN void *context)
OSM_LOG(&p_ftree->p_osm->log, OSM_LOG_VERBOSE, "Ranking FatTree\n");
if (__osm_ftree_fabric_rank(p_ftree) != 0) {
osm_log(&p_ftree->p_osm->log, OSM_LOG_SYS,
- "Failed ranking the tree - "
- "fat-tree routing falls back to default routing\n");
+ "Failed ranking the tree\n");
status = -1;
goto Exit;
}
@@ -3567,14 +3566,12 @@ static int __osm_ftree_construct_fabric(IN void *context)
"Populating CA & switch ports\n");
if (__osm_ftree_fabric_populate_ports(p_ftree) != 0) {
osm_log(&p_ftree->p_osm->log, OSM_LOG_SYS,
- "Fabric topology is not a fat-tree - "
- "routing falls back to default routing\n");
+ "Fabric topology is not a fat-tree\n");
status = -1;
goto Exit;
} else if (p_ftree->cn_num == 0) {
osm_log(&p_ftree->p_osm->log, OSM_LOG_SYS,
- "Fabric has no valid compute nodes - "
- "routing falls back to default routing\n");
+ "Fabric has no valid compute nodes\n");
status = -1;
goto Exit;
}
@@ -3586,8 +3583,7 @@ static int __osm_ftree_construct_fabric(IN void *context)
if (__osm_ftree_fabric_get_rank(p_ftree) > FAT_TREE_MAX_RANK ||
__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 (should be between %u and %u) - "
- "fat-tree routing falls back to default routing\n",
+ "Fabric rank is %u (should be between %u and %u)\n",
__osm_ftree_fabric_get_rank(p_ftree), FAT_TREE_MIN_RANK,
FAT_TREE_MAX_RANK);
status = -1;
@@ -3600,8 +3596,7 @@ static int __osm_ftree_construct_fabric(IN void *context)
validation - it checks that all the CNs are at the same rank. */
if (__osm_ftree_fabric_mark_leaf_switches(p_ftree)) {
osm_log(&p_ftree->p_osm->log, OSM_LOG_SYS,
- "Fabric topology is not a fat-tree - "
- "routing falls back to default routing\n");
+ "Fabric topology is not a fat-tree\n");
status = -1;
goto Exit;
}
@@ -3619,8 +3614,7 @@ static int __osm_ftree_construct_fabric(IN void *context)
In any case, the first and the last switches in the array are REAL leafs. */
if (__osm_ftree_fabric_create_leaf_switch_array(p_ftree)) {
osm_log(&p_ftree->p_osm->log, OSM_LOG_SYS,
- "Fabric topology is not a fat-tree - "
- "routing falls back to default routing\n");
+ "Fabric topology is not a fat-tree\n");
status = -1;
goto Exit;
}
@@ -3640,8 +3634,7 @@ static int __osm_ftree_construct_fabric(IN void *context)
if (!__osm_ftree_fabric_roots_provided(p_ftree) &&
!__osm_ftree_fabric_validate_topology(p_ftree)) {
osm_log(&p_ftree->p_osm->log, OSM_LOG_SYS,
- "Fabric topology is not a fat-tree - "
- "routing falls back to default routing\n");
+ "Fabric topology is not a fat-tree\n");
status = -1;
goto Exit;
}
--
1.5.4.5
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general