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

Hal Rosenstock
Tue Oct 26 10:14:00 PDT 2004


On Tue, 2004-10-26 at 13:10, Roland Dreier wrote:
>     Sean> As a suggestion, we can allocate 2 CQs per QP, one for
>     Sean> receives, and one for sends.  This would let us separate
>     Sean> send from receive completions based on the callback.
> 
> That's one solution, and another way to handle it is to have a way of
> distinguishing sends from receives based on wr_id (that's what the
> Topspin stack does).

That's where I was heading with this. It implies a "stolen" bit in the
WRID.

> Not sure which is better really.

Me neither but Sean seems to feel strongly about the CQ separation.

-- Hal



More information about the openib-general mailing list