On 01/11/2017 03:01 PM, Robert LeBlanc wrote: > How would I go about discarding anything in the send or receive queue > without gracefully flushing it or destroying the queue pair in the > kernel? I have a feeling I have something stuck in the send queue > preventing ib_drain_qp from completing, so I need to try just clearing > it out. Hello Robert, Have you already read the section about the QP error state in the IB spec? Most drivers call ib_modify_qp() to change the QP state into IB_QPS_ERR before calling ib_drain_qp(). Bart. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html