[EMAIL PROTECTED] wrote: > Quoting r. Sean Hefty <[EMAIL PROTECTED]>: >> Subject: Re: [openib-general] Re: port_num >> >> Michael S. Tsirkin wrote: >>> OK, so if we all agree bind with port 0 will select a free one, I'll >>> proceed with this assumption and Sean will code up the IB part, >>> iWarp part won't be a problem when its merged. >> >> I'm still not sure about what needs to be done. The CMA when running >> over IB has a port space that is distinct from the TCP port space. >> It's easy enough for the CMA to make up some value, but having that >> work over all iWarp devices is more challenging. It's not clear to >> me how using inet_csk_get_port() helps, since there isn't an actual >> socket for IB. > > How about we get something simple done for now for SDP on IB > since that is still the first user of this functionality? > And then we'll see how to improve from there.
How about something along the lines of stating that the transport specific CM is responsible for translating 0 to a number that does not conflict with the host stack, and then leave the details to be implemented as required. _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
