On 04/22/10 06:18 PM, Vishal Ahuja wrote:
Hi John,

You are correct, this number does stay constant. But I don't understand
how the driver code works. Can you please help me understand why it
should remain constant. I would have thought that this number would
change based on the arrival rate of the packets into the NIC.

I'm not the correct person to say for certain how the e1000g driver
operates, but Adapter->rx_desc_number appears to be the the total
number of descriptors allocated.  Not all of the descriptors may
have packets on each interrupt delivery.

In e1000g_receive() the local variable desc_count appears to get
bumped for each rx descriptor processed, but I don't know how
to use dtrace to watch local variables.
_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to