[openib-general] [PATCH][RDMA CM] IB mcast fix
Steve Wise
swise at opengridcomputing.com
Thu Aug 17 14:16:26 PDT 2006
On Thu, 2006-08-17 at 14:12 -0700, Sean Hefty wrote:
> Steve Wise wrote:
> > Index: src/linux-kernel/infiniband/core/cma.c
> > ===================================================================
> > --- src/linux-kernel/infiniband/core/cma.c (revision 9004)
> > +++ src/linux-kernel/infiniband/core/cma.c (working copy)
> > @@ -2172,7 +2172,7 @@
> > ib_addr_get_sgid(dev_addr, &rec.port_gid);
> > rec.pkey = cpu_to_be16(ib_addr_get_pkey(dev_addr));
> > rec.join_state = 1;
> > - rec.qkey = sin->sin_addr.s_addr;
> > + rec.qkey = cpu_to_be32(RDMA_UD_QKEY);
>
> The qkey for IB UD QPs must also be updated.
>
You mean for kernel mode right? I did it for user mode.
More information about the general
mailing list