Re: [PATCH 3/9] IB: add a helper to safely drain a QP

'Christoph Hellwig'
2015-11-23T14:33:41Z

On Mon, Nov 23, 2015 at 12:35:44PM +0200, Sagi Grimberg wrote:
>
>> So Maybe we should have:
>> void ib_drain_qp(struct ib_qp *qp)
>
> Christoph suggested that this flushing would be taken care
> of by rdma_disconnect which sounds even better I think..

Note that will only work once we've converted all drivers to
the new CQ API under development. Without that every completion
handlers needs a special case for the drain WC.