Re: [ofa-general] librdmacm feature request

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Doug Ledford <dledford@...>
Cc: general <general@...>
Date: Tuesday, October 9, 2007 - 11:43 am

> It shouldn't be too hard.  Assuming you handle the modify channel as a
 > synchronous action, the thread calling modify channel can't also be in
 > rdma_get_cm_event at the same time.  So, if you get there and someone is
 > blocking on that channel and just hasn't been scheduled to run yet, then
 > leave the event where it is while you switch the channel and send new
 > events to the new channel.  If they aren't then move any pending events
 > to the new channel as you do the change.

Hmm, how do you move events?  Keep in mind that there may be an
arbitrary number of pending events that belong to other cm_ids that
are queued before the events you want to move.  And you can't really
do anything too funky with the event channel fd, because you don't
want to mess up some other thread that might be waiting for events in
poll() or whatever.

 - R.
_______________________________________________
general mailing list
general@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [ofa-general] librdmacm feature request, Roland Dreier, (Tue Oct 9, 11:43 am)
Re: [ofa-general] librdmacm feature request, Sean Hefty, (Wed Nov 7, 3:30 pm)
Re: [ofa-general] librdmacm feature request, Sean Hefty, (Thu Nov 8, 7:50 pm)
Re: [ofa-general] librdmacm feature request, Steve Wise, (Fri Nov 9, 11:33 am)
Re: [ofa-general] librdmacm feature request, Sean Hefty, (Fri Nov 9, 1:11 pm)