[ofa-general] Re: [RFC][PATCH] last wqe event handler patch

Shirley Ma xma at us.ibm.com
Wed Jun 25 14:29:56 PDT 2008





Roland Dreier <rdreier at cisco.com> wrote on 06/25/2008 01:04:14 PM:

> Is there a missing "not" somewhere here?  If all CQEs for QP300 are in
> the recv CQ at the time that the last WQE reached event is handled, then
> since the drain WQE is posted to QP200 after that event, all the QP300
> CQEs will be handled before the completion for the drain WQE completion
> is handled.
>
> It seems that the problem is the following happening (HCA: entries are
> done by HCA hw, CPU entry is what our code does):
>
>    HCA: QP200 last WQE reached event generated
>    HCA: QP300 last WQE reached event generated
>    CPU: post QP200 drain WQE
>    HCA: drain WQE completes, add CQE to CQ for it
>    HCA: add CQE to CQ for QP300 receive completion (probably flush err)
>
> Is that right?

Yes.

> What HCA is this happening with?

I saw the panic on mthca. I guess that's what happened from the code review
only.

Thanks
Shirley
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20080625/ef697795/attachment.html>


More information about the general mailing list