[openib-general] [PATCH 0/4] Dispatch communication related events to the IB CM
Tom Tucker
tom at opengridcomputing.com
Fri Jul 21 16:47:13 PDT 2006
Sean:
I apologize in advance if the following generates "who is this newbie"
groans from the IB crowd...
I sometimes see the COMM_EST event on my (NFS) QP event handler. I
assumed that this was occurring due to a race condition between the CM
event handler thread (processing the ESTABLISHED event that moves the QP
--> RTS), and my I/O tasklets and callbacks. Since my I/Os are handled
on interrupt/tasklet context, the response to the request (posting a WR
to the SQ) was happening before the QP was moved to RTS in the CM
thread. This didn't actually cause a problem since the IB driver (mthca)
seemed to simply queue up, but not transmit the SQ WR until the
QP-->RTS.
All that said... I have a few questions:
- Does any of the above make sense?
- Do _all_ IB devices (not just mthca) queue WR posted on the SQ when
the QP is in RTR or can they generate an error if I don't wait until the
QP --> RTS to reply to a request.
- Given a _very_ brief review of the patch, it looks like I don't need
to to change what I'm doing now (nothing). True?
- Will path migration now be handled automagically in the IB CM?
Thanks,
Tom
On Fri, 2006-07-21 at 14:37 -0700, Sean Hefty wrote:
> The following set of patches forwards communication related events to the IB CM
> for processing. Communication events of interest are communication established
> and path migration, with only the former is currently handled by the IB CM.
>
> This removes the need for users to trap for these events and pass the
> information onto IB CM. Communication established events can be handled by the
> ib_cm_establish() routine, but no mechanism exists to notify the IB CM of path
> migration. This adds the framework for doing so.
>
> Signed-off-by: Sean Hefty <sean.hefty at intel.com>
>
> _______________________________________________
> openib-general mailing list
> openib-general at openib.org
> http://openib.org/mailman/listinfo/openib-general
>
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
>
More information about the general
mailing list