Shirley> I thought CQ handler is called in the none interrupt
Shirley> context. Why in recv CQ use netif_rx_ni() anyway?
With the mthca driver, CQ is definitely called directly from the CQ
event interrupt. ehca may be different -- I need to look at the code.
The _ni variant is used to handle low-level drivers that may not be
calling back from interrupt context. But it is certainly allowed to
call back in interrupt context and that is definitely what mthca does.
- R.
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general