>Returning -EBUSY from ib_cancel requires the caller to block until the send >handler is invoked. This in turn means that there needs to be code so that >the send handler can wakeup the canceling thread once the send is complete. >I don't see the difference between such synchronization requirements to the >client and reference counting.
Note that returning -EBUSY from ib_cancel_mad would only indicate that a callback *might* be invoked. It could have already been called, which leads me to think that no return value would be better than one that a client tries to use. Also, MAD agents are registered per port, not per HCA, since an agent is tied to a specific QP. _______________________________________________ openib-general mailing list [EMAIL PROTECTED] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
