[openib-general] [PATCH][RDMA CM] IB mcast fix

Sean Hefty mshefty at ichips.intel.com
Thu Aug 17 14:12:31 PDT 2006


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.

- Sean




More information about the general mailing list