On Tue, 26 Oct 2004 09:14:03 -0700
Roland Dreier <[EMAIL PROTECTED]> wrote:
> if (wc.status != IB_WC_SUCCESS) {
> printk(KERN_ERR PFX "Completion error %d WRID 0x%Lx\n",
> wc.status, (unsigned long long)
> wc.wr_id);
> + ib_mad_send_done_handler(port_priv, &wc);
> } else {
>
> I think this is still not quite right: what if a receive fails?
As a suggestion, we can allocate 2 CQs per QP, one for receives, and one for sends.
This would let us separate send from receive completions based on the callback.
_______________________________________________
openib-general mailing list
[EMAIL PROTECTED]
http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general