Michael S. Tsirkin wrote:
The only easy way out that I see is some kind of sa_flush function that
will flush MAD wqs, and ask all users to call that.
And I think we have the same bug in addr so this needs a flush function too.

My preference would be to add a registration function to ib_sa and ib_addr. Otherwise, we weaken the encapsulation between the modules, since ib_sa doesn't own the threads that it uses in its callbacks.

Registration could be global, or per port. The latter probably makes the most sense.

- Sean
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to