opensm/osm_prtn_config.c: Insert autogenerated pkey into MGID for IPoIB
PATCH 1/1 opensm/osm_prtn_config.c: Insert autogenerated pkey into MGID for IPoIB
---
opensm/osm_prtn_config.c +1 -1
@@ -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
A message that is not in the archive (sent off-list or not yet received): 50D2129F.7040707-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org
Hi Hal,
Quoted 3 lines · Hal Rosenstock
---
Applied, thanks.
--
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