* [PATCH ibacm 5/8] acm.c: Make sure MGID has full member pkey bit on
@ 2013-08-06 11:45 Hal Rosenstock
0 siblings, 0 replies; only message in thread
From: Hal Rosenstock @ 2013-08-06 11:45 UTC (permalink / raw)
To: Hefty, Sean
Cc: linux-rdma (linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org)
even when limited member of partition
Signed-off-by: Hal Rosenstock <hal-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
---
src/acm.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/acm.c b/src/acm.c
index d68746b..146d6e8 100644
--- a/src/acm.c
+++ b/src/acm.c
@@ -1493,7 +1493,7 @@ static void acm_init_join(struct ib_sa_mad *mad, union ibv_gid *port_gid,
IB_COMP_MASK_MC_SCOPE | IB_COMP_MASK_MC_JOIN_STATE;
mc_rec = (struct ib_mc_member_rec *) mad->data;
- acm_format_mgid(&mc_rec->mgid, pkey, tos, rate, mtu);
+ acm_format_mgid(&mc_rec->mgid, pkey | 0x8000, tos, rate, mtu);
mc_rec->port_gid = *port_gid;
mc_rec->qkey = ACM_QKEY;
mc_rec->mtu = 0x80 | mtu;
--
1.7.8.2
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-08-06 11:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-06 11:45 [PATCH ibacm 5/8] acm.c: Make sure MGID has full member pkey bit on Hal Rosenstock
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.