[ofa-general] [PATCH] opensm/sweep: add log message before lid assignment

Sasha Khapyorsky sashak at voltaire.com
Wed Feb 25 10:02:53 PST 2009


Improve logging - add log message (msg box) between pkey tables and
QoS parameters setup and lid manager.

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

diff --git a/opensm/opensm/osm_state_mgr.c b/opensm/opensm/osm_state_mgr.c
index 0a27044..a1efd1a 100644
--- a/opensm/opensm/osm_state_mgr.c
+++ b/opensm/opensm/osm_state_mgr.c
@@ -1247,6 +1247,9 @@ _repeat_discovery:
 	if (wait_for_pending_transactions(&sm->p_subn->p_osm->stats))
 		return;
 
+	OSM_LOG_MSG_BOX(sm->p_log, OSM_LOG_VERBOSE,
+			"PKEY and QOS setup completed - STARTING SM LID CONFIG");
+
 	osm_lid_mgr_process_sm(&sm->lid_mgr);
 	if (wait_for_pending_transactions(&sm->p_subn->p_osm->stats))
 		return;
-- 
1.6.1.2.319.gbd9e




More information about the general mailing list