[openib-general] Re: [PATCH] RDMA CM: assign port numbers when binding a cm_id to an address

Michael S. Tsirkin mst at mellanox.co.il
Mon Apr 24 12:10:19 PDT 2006


Quoting r. Sean Hefty <mshefty at ichips.intel.com>:
> Subject: Re: [PATCH] RDMA CM: assign port numbers when binding a cm_id to an address
> 
> Michael S. Tsirkin wrote:
> >>>BTW, Sean, if you intend to emulate socket interface, same is necessary 
> >>>for
> >>>listen: listen without bind is equivalent to binding to 
> >>>anyport/anyinterface
> >>>first.
> >>
> >>I'm aware that there are several areas where the CMA doesn't match 
> >>sockets yet. I just need to know what's important enough to implement 
> >>immediately.
> >
> >
> >I have put a simple version in SDP for now, so this bit can wait a bit.
> 
> I went to add this, but discovered that I don't have a good way to 
> determine which address family to use.  I may need to modify the create 
> call to set this.

Not sure how do you mean.
Listen without bind is equivalent to bind on any port, any address.
So why do you need address family?

-- 
MST



More information about the general mailing list