Signed-off-by: Hal Rosenstock <[email protected]>
---
diff --git a/opensm/osm_prtn_config.c b/opensm/osm_prtn_config.c
index 8714eba..a3524b1 100644
--- a/opensm/osm_prtn_config.c
+++ b/opensm/osm_prtn_config.c
@@ -248,7 +248,7 @@ static int partition_create(unsigned lineno, struct
part_conf *conf,
struct precreate_mgroup broadcast_mgroup;
memset(&broadcast_mgroup, 0, sizeof(broadcast_mgroup));
broadcast_mgroup.mgid = osm_ipoib_broadcast_mgid;
- pkey |= cl_hton16(0x8000);
+ pkey = CL_HTON16(0x8000) | conf->p_prtn->pkey;
memcpy(&broadcast_mgroup.mgid.raw[4], &pkey , sizeof(pkey));
broadcast_mgroup.flags.mtu = conf->flags.mtu;
broadcast_mgroup.flags.rate = conf->flags.rate;
--
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