[openib-general] Re: [PATCH] ipoib_flush_paths

Sean Hefty mshefty at ichips.intel.com
Wed Apr 5 17:19:36 PDT 2006


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



More information about the general mailing list