[openib-general] Handling SM class (SMInfo vs. other queries)

Fab Tillier ftillier at infiniconsys.com
Fri Oct 22 15:58:21 PDT 2004


> From: Roland Dreier [mailto:roland at topspin.com]
> Sent: Friday, October 22, 2004 3:45 PM
> 
>     Fab> This seems to imply that received MAD completion processing
>     Fab> will never happen in the context of the CQ notification
>     Fab> callback, and always require a context switch to a thread
>     Fab> context that can block while the MADs are handed off.  Am I
>     Fab> following correctly?  Do we want to have such a context
>     Fab> switch for every received MAD?
> 
> This design decision (to handle MAD completions in thread context) was
> made a while ago.  However I agree that long term it would make sense
> to move at least the SMA processing back to interrupt/tasklet context
> (and switch the local MAD interface to be asynch, of course).
> 

Ok, cool.  Just wanted to make sure we're all on the same page.  The course
of action you describe seems perfectly sane to me.

- Fab




More information about the general mailing list