On Fri, 2007-08-03 at 16:40 -0700, Tom Chen wrote:
> Hello,
>
> I am new to GLDV3 network driver, I am wondering what is mc_resources, what
> does OS do with it? how does OS adjust interrupt rate? how to mix interrupts
> with polling ?
mc_resources is intended to provide information to the operating system
about each receive ring (in the event the hardware has multiple receive
rings), as well as information about how to manage the interrupt rate or
go completely to polled mode.
For simple 100Mbps NICs it is completely reasonable to not enable this
feature at all.
If you don't have multiple RX rings, I'm not sure whether the OS will do
anything with this right now. In fact, at least two drivers I've looked
at (nge and rge) get this horribly wrong and supply stubs here. Far far
better to just not expose the feature at all than to expose a stubbed
out implementation.
(They will need to be fixed for Crossbow.)
-- Garrett
>
> Tom
>
>
> This message posted from opensolaris.org
> _______________________________________________
> networking-discuss mailing list
> [email protected]
_______________________________________________
networking-discuss mailing list
[email protected]