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.

Thank you,
Vishal

On Thu, Apr 22, 2010 at 2:18 PM, Vishal Ahuja <[email protected]> wrote:

> Won't it change frequently if the machine has quite a few other processes
> running, and is also receiving packets at a fairly high rate ?
>
>
> On Thu, Apr 22, 2010 at 2:10 PM, John Martin <[email protected]>wrote:
>
>> On 04/22/10 03:58 PM, Vishal Ahuja wrote:
>>
>>> Hi,
>>>
>>> Is there a way to monitor the number of rx_descriptors (using dtrace or
>>> any other tool) being used in the e1000g driver on opensolaris 2008.11?
>>>
>>
>> How about something like:
>>
>>  dtrace -n "e1000g_receive:entry{self->adapter=(e1000g_t *)arg0;}
>>  e1000g_receive:retu...@[0]=quantize(self->adapter->rx_desc_num);}"
>>
>> Although this is probably overkill as it doesn't look like the number
>> of rx descriptors changes over time.
>>
>>
>
_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to