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
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to