[ofa-general] [PATCH] opensm: don't fetch LFTs initially
Sasha Khapyorsky
sashak at voltaire.com
Thu Jul 26 16:31:35 PDT 2007
Do not fetch initial switch LFTs for discovered switches. OpenSM doesn't
use it anyway, but it creates additional subnet traffic.
Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---
opensm/opensm/osm_sw_info_rcv.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/opensm/opensm/osm_sw_info_rcv.c b/opensm/opensm/osm_sw_info_rcv.c
index 726cc06..8eb8cd5 100644
--- a/opensm/opensm/osm_sw_info_rcv.c
+++ b/opensm/opensm/osm_sw_info_rcv.c
@@ -134,6 +134,7 @@ __osm_si_rcv_get_port_info(
OSM_LOG_EXIT( p_rcv->p_log );
}
+#if 0
/**********************************************************************
The plock must be held before calling this function.
**********************************************************************/
@@ -198,7 +199,6 @@ __osm_si_rcv_get_fwd_tbl(
OSM_LOG_EXIT( p_rcv->p_log );
}
-#if 0
/**********************************************************************
The plock must be held before calling this function.
**********************************************************************/
@@ -399,10 +399,9 @@ __osm_si_rcv_process_new(
Get the PortInfo attribute for every port.
*/
__osm_si_rcv_get_port_info( p_rcv, p_sw, p_madw );
- __osm_si_rcv_get_fwd_tbl( p_rcv, p_sw );
/*
- Don't bother retrieving the current multicast tables
+ Don't bother retrieving the current unicast and multicast tables
from the switches. The current version of SM does
not support silent take-over of an existing multicast
configuration.
@@ -413,6 +412,7 @@ __osm_si_rcv_process_new(
The code to retrieve the tables was fully debugged.
*/
#if 0
+ __osm_si_rcv_get_fwd_tbl( p_rcv, p_sw );
if( !p_rcv->p_subn->opt.disable_multicast )
__osm_si_rcv_get_mcast_fwd_tbl( p_rcv, p_sw );
#endif
--
1.5.3.rc2.38.g11308
More information about the general
mailing list