[openib-general] CM private data

James Lentini jlentini at netapp.com
Wed May 18 12:49:12 PDT 2005



On Wed, 18 May 2005, Sean Hefty wrote:

> Fab Tillier wrote:
>> If you're not going to store them, I would suggest removing the private 
>> data
>> for the associated calls (RTU, MRA, DREP).  That way it becomes very clear
>> to applications wishing to use the private data that they can't.
>
> That makes it more difficult to add in the support later, since it involves 
> an API change and would effect all clients.  As long as no one is using the 
> private data yet, then the implementation of storing the private data can 
> just be deferred until it is needed.

If future CM users aren't aware of this, they are bound use this 
feature and encounter hard to find bugs.

Did you consider using asserts to detect when clients uses 
unimplemented parts of the API?

james



More information about the general mailing list