>I had to put something like this in place in the Windows CM, except that I had >to use async destroy semantics to allow preserving the existing CM API. > >You don't need a state here - just preset the reference count to 1. The >sequence should follow something like:
This is what the kernel does, and I think that it would work for userspace as well. I agree that a state probably isn't needed. Currently uCM doesn't associate a data structure with the cm_id. It passes an index directly between the application and the kernel, so adding this would require abstracting away the cm_id, which is a fair amount of work. I don't see any other reasonable alternative 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
