[PATCH] Re: [openib-general] Re: IPoIB Failure CQ overrun
Michael S. Tsirkin
mst at mellanox.co.il
Mon Dec 20 09:04:51 PST 2004
Hello!
Quoting r. Roland Dreier (roland at topspin.com) "Re: [PATCH] Re: [openib-general] Re: IPoIB Failure CQ overrun":
> Michael> But why wait for completion? Once QP is in error no new
> Michael> WQEs will be processed by hardware. You can close the CQ
> Michael> and free all of them.
>
> We can't destroy the CQ before we destroy the associated QP. And we
> don't want to destroy the associated QP (for various reasons we prefer
> using the same QP if someone ifconfigs down and then up their IPoIB
> interface).
I see.
Hmm. But not if you a bringing the module down, right?
So if the module is going down, cant you do this then?
Maybe we just need a way to do "reset cq" which will
do harware to software and back.
> In any case if we destroyed the QP without waiting for completions we
> wouldn't know which requests completed successfully and which were flushed.
>
> - R.
You free them either way.
I think its only because you keep the old QP and the old CQ.
mst
More information about the general
mailing list