[openib-general] cq callback question

Roland Dreier rolandd at cisco.com
Fri Oct 28 12:34:43 PDT 2005


    Steve> This may seem like a dumb question, but can a kernel ULP
    Steve> assume that after returning from ib_destroy_qp(), there
    Steve> will be no more callbacks for that QP on the associated cq
    Steve> event handler?

No, I don't think that's a valid assumption, at least with the current
code.  Also, there's no requirement in Documentation/infiniband/core_locking.txt
that destroy QP operations synchronize against CQ callbacks.

It is valid to assume that no callbacks will happen after
ib_destroy_cq() returns.

 - R.



More information about the general mailing list