--- Sean Hefty <[EMAIL PROTECTED]> wrote:

> >What about bumping the module reference count when
> a
> >kernel client (eg ipoib) is using a device? How is
> the
> >driver made unloadable in such cases?
> 
> The driver is still unloadable in such cases.  The
> kernel client is notified
> when a device is removed and is expected to release
> any resources associated
> with that device.
> 
> - Sean
> 

Okay.

So, the driver is responsible for waking up any verb
handler threads that issued commands to the card but
have not yet received responses.

As an example, using mthca, I assume then something
like mthca_CLOSE_IB() is causing the card to respond
back to all pending verb requests so that
mthca_cmd_event() can flag those as cancelled, and all
threads can exit the to-be-unloaded code. Or maybe
some other piece of code is handling this?

Thanks.

Kanoj 


 
____________________________________________________________________________________
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

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

Reply via email to