[openib-general] ib_mad.c comments
Hal Rosenstock
halr at voltaire.com
Sun Sep 12 13:23:40 PDT 2004
On Sun, 2004-09-12 at 13:25, Roland Dreier wrote:
> Hal> Another specific issue will come into play for the CM in that
> Hal> the callbacks will want to invoke ib_create/modify_qp. Will
> Hal> those be callable from non process context ? Just want to be
> Hal> sure...
>
> No, ib_create_qp and ib_modify_qp are not callable from process
> context. It's up to the CM to defer processing to a process context
> (probably using a workqueue). This is exactly the same thing the CM
> has to do with timeouts, since Linux timers are called from timer
> interrupt context.
At some point, we may want to consider what it would take to make
ib_[create modify]_qp run from other than process context as this would
help with CM performance.
-- Hal
More information about the general
mailing list