On 7/10/10 5:46 PM, Garrett D'Amore wrote:
> Yes.  There is normally a cut-out so that much protocol handling occurs out 
> of interrupt context.

I think its worth mentioning that the Solaris interrupt model does not
block. If you look closely, you'll see that calls to mac_rx will always
occur outside of the interrupt lock (this permits interrupt processing
to continue unhindered).

A word of warning - do not hold a lock across the mac_rx call - you can
end up in a tx upcall which will lead to deadlock. (As a general rule,
you should *never* hold locks while calling into GLDv3 functions).

Cheers,

Steve
_______________________________________________
networking-discuss mailing list
networking-discuss@opensolaris.org

Reply via email to