Quoting r. Sean Hefty <[EMAIL PROTECTED]>: > Subject: Re: Re: [PATCH] ipoib_flush_paths > > 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.
I don't see the connection (since we only need de-register, let's just call it flush and be done with it), but fine. Please propose an API then. > Registration could be global, or per port. The latter probably makes the > most sense. Probably global for ib_addr, per port for ib_sa: we don't want to force ib_addr users to deal with devices. -- MST _______________________________________________ openib-general mailing list openib-general@openib.org http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general