[ofa-general] Re: [GIT PULL] please pull infiniband.git

Michael S. Tsirkin mst at dev.mellanox.co.il
Thu Mar 29 12:06:44 PDT 2007


> Quoting Roland Dreier <rdreier at cisco.com>:
> Subject: Re: [ofa-general] Re: [GIT PULL] please pull infiniband.git
> 
>  > It should be guaranteed that no event handlers - completion events or async events -
>  > for this QP - are in progress after QP has been destroyed or moved to reset
>  > state.
>  > 
>  > Does this make sense?
> 
> No, because completion handlers are not attached to QPs.  So it is
> entirely possible for CQs to generate new events because of other QPs
> and have completion handlers running at any time.  You end up trying
> to say something about visibility of CQEs for the QP being destroyed
> in completion handler context, and I think it turns into a confusing
> mess.

We have a rule that we must clean CQEs after QP is moved to RESET,
do we not? How is it formulated?

-- 
MST



More information about the general mailing list