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

Sagi Grimberg
2015-11-16T18:37:44Z

> After looking at the nes driver, I don't see any common way to support drain w/o some serious driver mods. Since SRP is the only
> user, perhaps we can ignore iWARP for this function...

But iser/isert essentially does it too (and I think xprtrdma will have
it soon)...

the modify_qp is invoked from rdma_disconnect() and we do post
an 'empty' wr to wait for all the flushes to drain (see
iser_conn_terminate).