On Tue, Nov 24, 2015 at 8:15 PM, Jason Gunthorpe <[email protected]> wrote: > On Tue, Nov 24, 2015 at 11:41:10AM +0200, Moni Shoua wrote: >> On Mon, Nov 23, 2015 at 11:25 PM, Jason Gunthorpe >> <[email protected]> wrote: >> > On Thu, Oct 15, 2015 at 07:07:12PM +0300, Matan Barak wrote: >> >> diff --git a/include/rdma/ib_sa.h b/include/rdma/ib_sa.h >> >> index 0a40ed2..5bea0e8 100644 >> >> +++ b/include/rdma/ib_sa.h >> >> @@ -206,6 +206,9 @@ struct ib_sa_mcmember_rec { >> >> u8 scope; >> >> u8 join_state; >> >> int proxy_join; >> >> + int ifindex; >> >> + struct net *net; >> >> + enum ib_gid_type gid_type; >> >> }; >> > >> > This is really gross. >> > >> > Make ib_init_ah_from_mcmember accept a QP and get the above stuff from >> > the QP. >> > >> > Jason >> >> Which QP is that. You might not have any existing QP when you want to >> create the AH or you might have 10. > > roce multicast is only done with the CM and the CM always has a QP. > > Jason I don't see why you can't join before having a QP and anyway, rdma_create_qp() is optional -- 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
- [PATCH for-next V1 6/9] IB/rdma_cm: Add wrapper for cma re... Matan Barak
- [PATCH for-next V1 2/9] IB/cm: Use the source GID index ty... Matan Barak
- [PATCH for-next V1 7/9] IB/cma: Add configfs for rdma_cm Matan Barak
- Re: [PATCH for-next V1 7/9] IB/cma: Add configfs for ... Jason Gunthorpe
- [PATCH for-next V1 1/9] IB/core: Add gid_type to gid attri... Matan Barak
- [PATCH for-next V1 9/9] IB/cma: Join and leave multicast g... Matan Barak
- Re: [PATCH for-next V1 9/9] IB/cma: Join and leave mu... Jason Gunthorpe
- Re: [PATCH for-next V1 9/9] IB/cma: Join and leav... Moni Shoua
- Re: [PATCH for-next V1 9/9] IB/cma: Join and ... Jason Gunthorpe
- Re: [PATCH for-next V1 9/9] IB/cma: Join ... Moni Shoua
- Re: [PATCH for-next V1 9/9] IB/cma: ... Jason Gunthorpe
- [PATCH for-next V1 3/9] IB/core: Add gid attributes to sys... Matan Barak
- Re: [PATCH for-next V1 3/9] IB/core: Add gid attribut... Jason Gunthorpe
- Re: [PATCH for-next V1 3/9] IB/core: Add gid attr... Matan Barak
- Re: [PATCH for-next V1 3/9] IB/core: Add gid ... Matan Barak
- Re: [PATCH for-next V1 3/9] IB/core: Add ... Jason Gunthorpe
- [PATCH for-next V1 8/9] IB/core: Initialize UD header stru... Matan Barak
- [PATCH for-next V1 4/9] IB/core: Add ROCE_UDP_ENCAP (RoCE ... Matan Barak
- [PATCH for-next V1 5/9] IB/core: Add rdma_network_type to ... Matan Barak
- Re: [PATCH for-next V1 5/9] IB/core: Add rdma_network... Jason Gunthorpe
