> I don't know if it matters to the conversation or not, but I use an SRQ. I am > unclear how to remove a QP from the SRQ. Is ibv_destroy_qp() sufficient? Or do > I need to use rdma_destroy_qp()?
rdma_destroy_qp() is a wrapper around ibv_destroy_qp(), plus destroys any internally allocated resources, like CQs, if the rdma_cm allocated those for the user. If you called ibv_create_cq yourself, either is sufficient. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html