[openib-general] Re: SDP use of CMA
Sean Hefty
mshefty at ichips.intel.com
Tue Dec 6 11:29:01 PST 2005
Michael S. Tsirkin wrote:
> It seems I was too brief.
> What I'm trying to say here, service ID not only specifies the private
> data format but also allows demultiplexing.
>
> For SDP the SID format is set, but for other protocols we can have
>
> if (id->protocol != CMA_SDP_PROTO)
> return cpu_to_be64(((u64)IB_OPENIB_OUI << 48) +
> (id->protocol << 16) +
> ((struct sockaddr_in *) addr)->sin_port);
>
> and this way more than one protocol will be able to listen on the
> same port.
The latest version of this has the socket protocol as part of the service ID,
similar to what you have above. The CMA won't be updated to reflect this until
the proposed protocol becomes standard however.
- Sean
More information about the general
mailing list