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