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
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to