[ofa-general] Re: [PATCH for-2.6.22] IB/ipoib: fix SRQ WR leak

Michael S. Tsirkin mst at dev.mellanox.co.il
Sun May 27 20:41:03 PDT 2007


>  > It seems that the right approach might be to create
>  > a loopback QP in RTS, and perform post sends there.
> 
> How about using the send queue of the QP we're trying to flush?
> I'll try to code this up tomorrow if no one beats me to the fix.

Great idea - since we got last WQE reached, that QP will already be in error.

Another alternative I thought about is to keep the drain QP in reset state,
and move it to error only when we have some work to do.
But this looks like a better way to do it.

-- 
MST



More information about the general mailing list