[openib-general] Proposed device enumeration & async event APIs
Roland Dreier
roland at topspin.com
Fri Sep 10 19:36:25 PDT 2004
Fab> Will clients be able to allocate HCA resources from the
Fab> callback? Will this work if there's a lock held during
Fab> callbacks? I'm not too familiar with the mthca code, but
Fab> VAPI didn't let you do anything while holding a lock.
Yes. I was a little vague about the type of lock -- it's a semaphore,
which means it's safe to sleep while holding the lock. The only
functions you can't call would be functions that deadlock against the
same lock, ie register/deregister a client or a device.
- R.
More information about the general
mailing list