[openib-general] Re: [PATCH] CMA: allow/require bindbeforeconnect

Tom Tucker tom at opengridcomputing.com
Wed Mar 29 06:18:04 PST 2006


I had planned on making it a service within the CMA that would be shared
by both the IWCM and the IBCM. Sort of an extension to the port-space
thing that's already there. 

Is this what you had in mind?

There probably will be some pieces in the transport CM's as well.

On Tue, 2006-03-28 at 15:16 -0800, Sean Hefty wrote:
> >The simplest thing is to steal the get and put code and modify it to use
> >rdma_cm_id instead of sockets.
> >
> >inet_csk_get_port --> rdma_get_port
> >inet_put_port --> rdma_put_port
> >
> >How about if I add the port management code to the next IWCM patch along
> >with the provider changes?
> 
> A patch would be great, though even what you posted is a fairly big help.
> 
> It sounds like something like this is also needed on the IB side as well, so I'm
> still uncertain if the code should go in the iwcm, rdma_cm, or some sort of mix.
> Steve was suggesting having the port space global across the rdma_cm, which is
> my actual preference, but then the RDMA port spaces end up needing to be synched
> with the TCP port space...  Do you have an idea for how to handle this?
> 
> - Sean




More information about the general mailing list