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

Sean Hefty sean.hefty at intel.com
Tue Mar 28 15:16:05 PST 2006


>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