Andrei> In what context CQ completion handler is called? I'm Andrei> talking about kernel module using ib verbs. In general you should assume it is called from an unknown context. The current mthca driver calls it from interrupt context, but future drivers might use softirq or even process context. - R.