[openib-general] userspace event reporting

Sean Hefty sean.hefty at intel.com
Tue Jul 12 12:29:01 PDT 2005


>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




More information about the general mailing list