<div dir="ltr">On Tue, May 26, 2009 at 11:03 PM, Isaac Huang <span dir="ltr"><<a href="mailto:He.Huang@sun.com">He.Huang@sun.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
If rdma_destroy_qp is called on a QP before it exits the TimeWait state (i.e. after RDMA_CM_EVENT_DISCONNECTED but before RDMA_CM_EVENT_TIMEWAIT_EXIT), is it possible that a subsequent rdma_create_qp would reuse the same QP while it's still in TimeWait? </blockquote>
<div><br>YES - as rdma_destroy/create_qp are basically  wrappers to ib_destroy/create_qp and the latter two are not aware by any means to the QP state from the CM point of view.<br> <br></div></div><br>Or.<br></div>