[openib-general] [PATCH] Opensm - accept HANDOVER during DISOVERY
Yael Kalka
yael at mellanox.co.il
Wed Sep 28 04:06:51 PDT 2005
Hi Hal,
Here is a patch for the valid signaling you found.
If we receive a HANDOVER signal during DISCOVERY it can just be
ignored (continue the discovering).
Thanks,
Yael
Signed-off-by: Yael Kalka <yael at mellanox.co.il>
Index: opensm/osm_sm_state_mgr.c
===================================================================
--- opensm/osm_sm_state_mgr.c (revision 3595)
+++ opensm/osm_sm_state_mgr.c (working copy)
@@ -587,6 +587,13 @@ osm_sm_state_mgr_process(
__osm_sm_state_mgr_start_polling( p_sm_mgr );
break;
+ case OSM_SM_SIGNAL_HANDOVER:
+ /*
+ * Do nothing. We will discover it later on. If we already discovered
+ * this SM, and got the HANDOVER - this means the remote SM is of
+ * lower priority. In this case we will stop polling it (since it is
+ * a lower priority SM in STANDBY state).
+ */
default:
__osm_sm_state_mgr_signal_error( p_sm_mgr, signal );
status = IB_INVALID_PARAMETER;
More information about the general
mailing list