Viewing device parameters, Resetting all parameters – Dell Emulex Family of Adapters User Manual

Page 616

Advertising
background image

Emulex Drivers for Windows User Manual

P010077-01A Rev. A

3. Configuration

NIC Driver Configuration

616

To modify a parameter without a driver reload, use “-r”. This is useful to modify

several parameters in sequence, then force a reload of the driver at the end. To force a

driver reload use the “-f” parameter.
The following is an example of such a sequence:

occfg -a emulex -r -s rss=0

occfg -a emulex -r -s "interrupt moderation=0"

occfg -a emulex -f

Registry keys may be set to two special values:

The “delete” value will cause the key to be entirely deleted and the driver will

use the default value. This is appropriate for keys that are optional, such as the

“Network Address”.

The “default” value will set the key to the driver’s default value. If the key is

optional, the default value may be equivalent to deleting the key.

For example:

occfg -a emulex -s vlan=delete

occfg -a emulex -s rss=default

Viewing Device Parameters

The occfg.exe program can query device parameters from either the registry or the

device driver (if running driver version >= 2.103.x.x).
The registry and driver values may differ until the driver is reloaded. If the driver

reload fails for any reason (such as another application has an open handle to the

device driver), it may be necessary to reboot the system to apply the registry changes.

Note: If the driver has been disabled or if the driver failed to load due to any error, the

driver query will return the error, “Failed to query driver for the parameter”.

The following are batch mode examples:

occfg -a emulex -g "Interrupt Moderation"

occfg -a "(Local Area Connection)" -g interrupt,rss

Emulex OneConnect OCe11102-I, NIC/TOE (Local Area Connection):

[Registry] Interrupt Moderation = 4 (Adaptive [Default])

[Driver] Interrupt Moderation = 4 (Adaptive [Default])

Emulex OneConnect OCe11102-I, NIC/TOE (Local Area Connection):

[Registry] RSS = 0 (Disable)

[Driver] RSS = 0 (Disable)

Resetting All Parameters

Resetting all parameters will restore the default values for each adapter. This is

accomplished by using the command:

occfg -a emulex -x

Advertising