Selecting an adapter, Configuring device parameters – Dell Emulex Family of Adapters User Manual
Page 615
Emulex Drivers for Windows User Manual
P010077-01A Rev. A
3. Configuration
NIC Driver Configuration
615
Selecting an Adapter
In batch mode, the “-a” parameter should be followed by a substring that is contained
within the adapter name. The name is a combination of the device manager name (for
example, Emulex OneConnect OCe11102) and the network connection name (for
example, Local Area Connection). The later may be modified by using the Windows
Network Connections applet (ncpa.cpl).
The most typical scenario involves setting parameters the same for all ports of a
network adapter. This is accomplished by specifying “-a emulex”.
Often it is convenient to rename the connections to have a common name to easily
operate on a group. For example, naming the network connections “dot1, dot2, dot3”
allows operating on all adapters using the substring “dot”, or on any individual
adapter by specifying the exact name such as “dot1”.
Configuring Device Parameters
The occfg program is used to query and modify registry parameters for Emulex
network devices. The registry keys are stored at:
HKLM/System/CurrentControlSet/Control/Class/{4D36E972-E325-11CE-BFC
108002bE10318}/####
where “####” is the device instance number.
The occfg program allows you to modify registry keys on a set of network devices.
Once modified, the driver must be restarted to apply these parameters. In batch mode,
occfg will automatically restart the driver when changing a parameter, and in
interactive mode there is a menu item to select to restart the driver.
In batch mode the commands to modify parameters will look like the following
examples:
occfg -a emulex -s rss=0
occfg -a emulex -s "Interrupt Moderation=4,Flow Control=3"
The parameter name must uniquely specify one parameter to modify, but it may be
only a substring on the full parameter name. For example, the following are all
equivalent:
occfg -a emulex -s "Flow Control=3"
occfg -a emulex -s flow=3
occfg -a emulex -s control=3
Note that the parameter name is generally the text readable parameter description
name, but you may specify the exact registry key name as well. Microsoft has defined
many documented standard registry key names that start with a '*' character. The '*' is
not a wildcard — it is part of the registry key name. The following examples are
equivalent:
occfg -a emulex -s "Flow Control=3"
occfg -a emulex -s "*FlowControl=3"
Note: Quotes are required if the parameter name contains a space character