Thread (1 message) 1 message, 1 author, 2012-09-19

RE: how to preserve QP over HA events for librdmacm applications

From: Hefty, Sean <hidden>
Date: 2012-09-19 19:22:43

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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help