Signed-off-by: Sasha Khapyorsky <[EMAIL PROTECTED]>
---
opensm/include/opensm/osm_event_plugin.h | 1 +
opensm/opensm/osm_state_mgr.c | 2 ++
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/opensm/include/opensm/osm_event_plugin.h
b/opensm/include/opensm/osm_event_plugin.h
index 0626b86..e44a78a 100644
--- a/opensm/include/opensm/osm_event_plugin.h
+++ b/opensm/include/opensm/osm_event_plugin.h
@@ -69,6 +69,7 @@ typedef enum {
OSM_EVENT_ID_PORT_DATA_COUNTERS,
OSM_EVENT_ID_PORT_SELECT,
OSM_EVENT_ID_TRAP,
+ OSM_EVENT_ID_SUBNET_UP,
OSM_EVENT_ID_MAX
} osm_epi_event_id_t;
diff --git a/opensm/opensm/osm_state_mgr.c b/opensm/opensm/osm_state_mgr.c
index 54ac1d9..5c5167f 100644
--- a/opensm/opensm/osm_state_mgr.c
+++ b/opensm/opensm/osm_state_mgr.c
@@ -1238,6 +1238,8 @@ _repeat_discovery:
*/
cl_event_signal(&sm->subnet_up_event);
+ osm_opensm_report_event(sm->p_subn->p_osm, OSM_EVENT_ID_SUBNET_UP,
NULL);
+
/* if we got a signal to force heavy sweep or errors
* in the middle of the sweep - try another sweep. */
if (sm->p_subn->force_heavy_sweep
--
1.5.5.1.178.g1f811
_______________________________________________
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