Vishal,

I am not sure about the e1000g driver used for 2008.11.

But I found these in latest driver source at
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/io/
e1000g.

As in below lines, number of Rx descriptors is through NumRxDescriptors
property.
This is through e1000g.conf.

e1000g_main.c:
   3850         /*
   3851          * NumRxDescriptors
   3852          */
   3853         Adapter->rx_desc_num_flag =
   3854             e1000g_get_prop(Adapter, "NumRxDescriptors",
   3855             MIN_NUM_RX_DESCRIPTOR, MAX_NUM_RX_DESCRIPTOR,
   3856             is_jumbo ? DEFAULT_JUMBO_NUM_RX_DESC
   3857             : DEFAULT_NUM_RX_DESCRIPTOR, &propval);
   3858         Adapter->rx_desc_num = propval;

These are the default values (e100g_sw.h):
    139 #define DEFAULT_NUM_RX_DESCRIPTOR       2048
    140 #define DEFAULT_NUM_TX_DESCRIPTOR       2048
    141 #define DEFAULT_NUM_RX_FREELIST         4096
    142 #define DEFAULT_NUM_TX_FREELIST         2304
    143 #define DEFAULT_JUMBO_NUM_RX_DESC       1024
    144 #define DEFAULT_JUMBO_NUM_TX_DESC       1024

Regards,
Gireesh

From: [email protected]
[mailto:[email protected]] On Behalf Of Vishal
Ahuja
Sent: Friday, April 23, 2010 12:53 AM
To: [email protected]
Subject: [networking-discuss] e1000g NumberRxDescriptors

Hi,

How could I find out the number of Rx descriptors that the e1000g driver
uses on my opensolaris 2008.11 machine. And how could I change this value? I
have tried ndd and dladm, but they don't show this.

Thank you,
Vish

_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to