[openib-general] ib_mad.c comments

Roland Dreier roland at topspin.com
Sun Sep 12 10:25:39 PDT 2004


    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.

 - Roland



More information about the general mailing list