[openib-general] [PATCH] ib_mad: In completion handler, when status != success call send done handler
Sean Hefty
mshefty at ichips.intel.com
Thu Oct 28 09:58:51 PDT 2004
On Thu, 28 Oct 2004 10:42:23 -0400
Hal Rosenstock <halr at voltaire.com> wrote:
> On Thu, 2004-10-28 at 02:01, Sean Hefty wrote:
> > I've run into a few other issues trying to use separate send queues.
> >
> > One of note is that receives are posted to the QP outside of the
> > lock that inserts them onto the recv_posted_mad_list.
>
> I couldn't find where you were referring to. Can you point me at it ?
I think it was in ib_mad_post_receive_mad.
> Also, if this is locked, should we go to finer grained locks ?
> Currently there is a lock for the receive list, but might a lock per
> receive list per QP be better ?
I've changed the code to use a lock per QP. So, each QP now has their
own send list, receive list, send lock, and receive lock.
- Sean
More information about the general
mailing list