[ofa-general] [PATCH] opensm/osm_ucast_ftree.c: fixing errors in comments

Yevgeny Kliteynik kliteyn at dev.mellanox.co.il
Wed Dec 17 07:00:54 PST 2008


Hi Sasha,

Following Nicolas' fix, here's some fixes in the fat-tree routing comments.

Signed-off-by: Yevgeny Kliteynik <kliteyn at dev.mellanox.co.il>
---
 opensm/opensm/osm_ucast_ftree.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/opensm/opensm/osm_ucast_ftree.c b/opensm/opensm/osm_ucast_ftree.c
index aa51d23..ebe6612 100644
--- a/opensm/opensm/osm_ucast_ftree.c
+++ b/opensm/opensm/osm_ucast_ftree.c
@@ -2462,11 +2462,11 @@ static void __osm_ftree_fabric_route_to_cns(IN ftree_fabric_t * p_ftree)
  *    foreach HCA non-CN port in fabric
  *       obtain the LID of the HCA port
  *       get switch that is connected to this HCA port
- *       set switch LFT(LID) to the port connecting to compute node
- *       call assign-down-going-port-by-ascending-up(TRUE,FALSE) on CURRENT switch
+ *       set switch LFT(LID) to the port connected to the HCA port
+ *       call assign-down-going-port-by-ascending-up(TRUE,TRUE) on the switch
  *
- * Routing to these HCAs is routing a REAL hca lid on SECONDARY path.
- * However, we do want to allow load-leveling of the traffic to the non-CNs,
+ * Routing to these HCAs is routing a REAL hca lid on MAIN path.
+ * We want to allow load-leveling of the traffic to the non-CNs,
  * because such nodes may include IO nodes with heavy usage
  *   - we should set fwd tables
  *   - we should update port counters
-- 
1.5.1.4




More information about the general mailing list