[openib-general] Re: port_num
Caitlin Bestler
caitlinb at broadcom.com
Wed Mar 15 16:24:15 PST 2006
openib-general-bounces at openib.org wrote:
> Quoting r. Sean Hefty <mshefty at ichips.intel.com>:
>> 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.
More information about the general
mailing list