[openib-general] RE: userspace event reporting

Sean Hefty sean.hefty at intel.com
Tue Jul 12 12:56:55 PDT 2005


>> This fell out of the uCM connection ID discussion...
>>
>> There's an issue reporting events to userspace clients for an object
>> that a user may have destroyed.  The problem exists with user verbs,
>> but is much more likely to be seen by a userspace CM client.  To avoid
>> reporting events for a destroyed object, I think that something
>> similar to the following could be used from userspace:
>
>Sean, what do you mean when you say "object"?
>For example, cq?

In this case, I was referring to the cm_id, but it also applies to the CQ.

>I think the proper solution is to record the event in the object itself.
>For example, on cq event set bit "event received".
>Then after object goes away events go away without flags, states and
>ugliness.

What we're suggesting is that the "event set bit" be a reference count.  Some
objects, like a listening cm_id, can have multiple events outstanding at once.

- Sean




More information about the general mailing list