[openib-general] [PATCH] ib_mad: In completion handler, when status != success call send done handler

Hal Rosenstock halr at voltaire.com
Tue Oct 26 10:03:58 PDT 2004


On Tue, 2004-10-26 at 12:50, Sean Hefty wrote:
> > Another alternative is to assume it is a receive if it is not a send is
> > not matched.
> 
> I think we have other issues with the completion handling as well.  
> Since we use a single CQ for both QPs, I think that we need to search 
> the send_posted_mad_list to find the corresponding completion.  
> We cannot assume that the completion matches with the request at the 
> head of the list.
> 
> This appears to be broken in the non-error case as well.

Right.

> I will happily create a patch to fix these issues.

Just wondering... will the patch change to a CQ/QP or leave it as 1
CQ/port ? (BTW, there was a patch a long time ago on this which was lost
in the shuffle. Sorry).

-- Hal




More information about the general mailing list