[openib-general] Re: ibv_get_async_event
Sean Hefty
mshefty at ichips.intel.com
Fri Sep 2 15:41:22 PDT 2005
Roland Dreier wrote:
> I take this to mean that it's fine if CQEs _are_ retrieved after a QP
> is destroyed. Since a CQE does not have a pointer to the QP, but only
> a QP number and a consumer-defined work request ID, I think this is
> OK; there's no direct reference to a stale resource.
I was actually thinking about the destruction of the CQ, not the QP. Thinking
about it more, it seems unlikely, but couldn't a user destroy a QP followed by
the CQ before ibv_get_cq_event() returns?
- Sean
More information about the general
mailing list