[ofa-general] Re: [PATCH 4/4] [RFC] IPoIB/cm: Add connected mode support for devices without SRQs

Roland Dreier rdreier at cisco.com
Tue Oct 30 15:45:33 PDT 2007


 > Are you testing a kernel with 1b524963 ("IPoIB/cm: Use common CQ for
 > CM send completions") applied (it is already upstream)?  It is
 > possible that that introduced the bug rather than the non-SRQ CM
 > patches.

Crud, I see a bug with that commit and non-SRQ:
ipoib_cm_handle_tx_wc() does

       struct ipoib_cm_tx *tx = wc->qp->qp_context;

and there's no reason for wc->qp to be set if the HCA does not handle
SRQs.  In fact there's no reason for wc->qp to be set for send
completions in general.

Not sure if this is the problem you're seeing, but now I need to
figure out how to fix it...

 - R.



More information about the general mailing list