OpenSM/osm_base.h: Modify some SM constants

Default SM Key should not be 0
Also, changed default SM priority to 1 so can have lower priority SM
(and not rely on low GUID comparison). Note also that priority sense
was inverted in comment.

Signed-off-by: Hal Rosenstock <[EMAIL PROTECTED]>

Index: osm_base.h
===================================================================
--- osm_base.h  (revision 4478)
+++ osm_base.h  (working copy)
@@ -122,7 +122,7 @@ BEGIN_C_DECLS
 *
 * SYNOPSIS
 */
-#define OSM_DEFAULT_SM_KEY 0
+#define OSM_DEFAULT_SM_KEY 1
 /********/
 
 /****s* OpenSM: Base/OSM_DEFAULT_LMC
@@ -169,11 +169,11 @@ BEGIN_C_DECLS
 *
 * DESCRIPTION
 *      Default SM priority value used by the OpenSM,
-*      as defined in the SMInfo attribute.  0 is the highest priority.
+*      as defined in the SMInfo attribute.  0 is the lowest priority.
 *
 * SYNOPSIS
 */
-#define OSM_DEFAULT_SM_PRIORITY 0
+#define OSM_DEFAULT_SM_PRIORITY 1
 /********/
 
 /****d* OpenSM: Base/OSM_DEFAULT_TMP_DIR


_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to