[openib-general] [PATCH] initial CM module

Roland Dreier roland at topspin.com
Mon Dec 20 07:36:47 PST 2004


    Sean> Do others feel that this functionality is needed?  This
    Sean> seems problematic in that the CM could allocate a service ID
    Sean> that is used/required by an application that has not yet
    Sean> started when this call is made.  (I don't recall if service
    Sean> IDs have a reserved/non-reserved values similar to sockets,
    Sean> but I don't think that they do.)  If this functionality is
    Sean> needed, my initial preference is the second method
    Sean> mentioned.

Yes, some mechanism of allocating unique "local OS administered"
service IDs (see section A.3.2.3.3 of the spec) is required.

I don't see any problem with allocating IDs before an application is
listening.  This is no different from the fact that, say, the ROM
repository service ID is always assigned, but there may not be any
service listening for connections.  All that is required for correct
operation is for an application to start listening on its assigned
service IDs before publishing those IDs.

Or did I misunderstand and you were just worried about possible
service ID collisions?  In that case there is no problem, all service
IDs starting with 0x02 are reserved for this "local OS" allocation
method and may be freely assigned by the CM.

 - R.



More information about the general mailing list