[openib-general] Re: SDP port spaces (was: port_num)

Michael S. Tsirkin mst at mellanox.co.il
Thu Mar 16 10:40:53 PST 2006


Quoting r. Fabian Tillier <ftillier at silverstorm.com>:
> Subject: Re: [openib-general] Re: SDP port spaces (was: port_num)
> 
> On 3/16/06, Michael S. Tsirkin <mst at mellanox.co.il> wrote:
> > Quoting r. Sean Hefty <sean.hefty at intel.com>:
> > > Does SDP need to coordinate its use of port numbers with anything else?
> >
> > libsdp does this sometimes:
> >
> > - create 2 sockets
> > - bind tcp socket to port 0
> > - get the port
> > - bind sdp socket to the same port
> >
> > For this trick to work we must be able to bind same port for both TCP and SDP.
> 
> Except this shouldn't work if TCP gets rerouted to SDP - in that case
> both sockets are trying to use the same port, right?

Then we won't need libsdp.

-- 
Michael S. Tsirkin
Staff Engineer, Mellanox Technologies



More information about the general mailing list