osm_sm_state_mgr.c Don't clear IS_SM bit when changing state to NOT_ACTIVE
PATCH 1/1 osm_sm_state_mgr.c Don't clear IS_SM bit when changing state to NOT_ACTIVE
The SM is still operational even though it is in this state. Other SMs will not know about "our" presence when IS_SM is cleared and will therefor not attempt to enable "us" again.
---
opensm/osm_sm_state_mgr.c +1 -1
@@ -2,6 +2,7 @@* Copyright (c) 2004-2009 Voltaire, Inc. All rights reserved. * Copyright (c) 2002-2005 Mellanox Technologies LTD. All rights reserved. * Copyright (c) 1996-2003 Intel Corporation. All rights reserved. +* Copyright (c) 2013 Oracle and/or its affiliates. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU
@@ -330,7 +331,6 @@ ib_api_status_t osm_sm_state_mgr_process(osm_sm_t * sm,*/ sm->p_subn->sm_state =IB_SMINFO_STATE_NOTACTIVE ;osm_report_sm_state (sm); -osm_vendor_set_sm (sm->mad_ctrl.h_bind, FALSE);break ;case OSM_SM_SIGNAL_HANDOVER :/*
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 5 lines · Line Holen
The SM is still operational even though it is in this state. Other SMs will not know about "our" presence when
IS_SMis cleared and will therefor not attempt to enable "us" again.Signed-off-by Line Holen <[email protected]>
Thanks. Applied.
-- Hal
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html