[ofw] poll CQ after destroy QP issue

Hefty, Sean sean.hefty at intel.com
Thu Oct 14 09:57:31 PDT 2010


We're seeing an issue where poll_cq fails after destroying a QP.  It appears that the CQE references the destroyed QP, so poll_cq fails with invalid parameter.  The QP was transitioned into the error state and the CQ polled before the QP was destroyed.

Is there some other way that an application can handle this situation without poll_cq returning an invalid parameter?   Should the verbs provider libraries simply ignore those CQEs and continue polling the CQ if it finds a QPN that has been destroyed?



More information about the ofw mailing list