[ofa-general] [PATCH] opensm: remove lft setup hack

Sasha Khapyorsky sashak at voltaire.com
Tue Jul 31 10:26:36 PDT 2007


This removes the hack, where OpenSM's lfts were is updated by ucast_mgr
and not only from the network. Once it was needed for dumping fucntions,
which use the data from lft, but now the dumping is moved to the end of
the sweep, when all lfts are up to date.

Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---
 opensm/opensm/osm_ucast_mgr.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/opensm/opensm/osm_ucast_mgr.c b/opensm/opensm/osm_ucast_mgr.c
index cfe1a58..b90509a 100644
--- a/opensm/opensm/osm_ucast_mgr.c
+++ b/opensm/opensm/osm_ucast_mgr.c
@@ -508,13 +508,6 @@ osm_ucast_mgr_set_fwd_table(
     else
     {
       p_mgr->any_change = TRUE;
-      /*
-        HACK: for now we will assume we succeeded to send
-        and set the local DB based on it. This should allow
-        us to immediatly dump out our routing.
-      */
-      osm_switch_set_ft_block(
-        p_sw, p_mgr->lft_buf + block_id_ho * 64, block_id_ho );
     }
   }
 
-- 
1.5.3.rc2.29.gc4640f




More information about the general mailing list