OpenSM was failing to set pkeys with full membership on external
switch ports - fixing the wrong condition.
Signed-off-by: Yevgeny Kliteynik <[EMAIL PROTECTED]>
---
opensm/opensm/osm_pkey_mgr.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/opensm/opensm/osm_pkey_mgr.c b/opensm/opensm/osm_pkey_mgr.c
index 58eed04..f5c277f 100644
--- a/opensm/opensm/osm_pkey_mgr.c
+++ b/opensm/opensm/osm_pkey_mgr.c
@@ -212,7 +212,7 @@ pkey_mgr_enforce_partition(IN osm_log_t * p_log,
p_pi = &p_physp->port_info;
- if ((p_pi->vl_enforce & 0xc) == (0xc) * (enforce == TRUE)) {
+ if (!enforce || ((p_pi->vl_enforce & 0xc) != 0xc)) {
osm_log(p_log, OSM_LOG_DEBUG,
"pkey_mgr_enforce_partition: "
"No need to update PortInfo for "
--
1.5.1.4
_______________________________________________
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