Download User Manual

Transcript
3. Configuration
Ethernet Driver Configuration
Ethernet Driver Configuration
Ethernet Driver Configuration Parameters
The Ethernet driver supports the user-configurable parameters described in Table 3-3.
Table 3-3 Ethernet Driver Configuration Parameters
Parameter
Description
num_vfs
In systems supporting SR-IOV, when IOV is enabled, this parameter indicates the
number of VFs to be enabled per PF. For configuring SR-IOV, see “SR-IOV
Configuration” on page 35.
The default value is 0 (SR-IOV is not enabled). The possible values are 0 to 32.
rss_on_mc
Enables receive-side scaling (RSS) on multichannel functions that have the
capability.
The default value is 0 (disabled). The enabled value is 1.
rx_frag_size
The size of fragments used to DMA received data. The possible values are 2048
(default), 4096 and 8192.
num_rings
The number of rings on which packets can be transmitted and received can be
varied using this parameter.
The default value is 8. The maximum supported value is 12.
You can configure Linux to automatically load the driver with any of these options
after each reboot. To do so, add a line to /etc/modprobe.conf with the required
options. For example, to load the driver with the fragment size of 4096 and create eight
VFs per PF in an SR-IOV–capable system, add the following line:
options be2net rx_frag_size=4096 num_vfs=8
VLAN Support on UMC
In universal multichannel (UMC) mode, an LPVID for each channel configured in the
BIOS is transparently added in the transmit path and removed in the receive path by
the UCNA. When a VLAN is configured in the host using vconfig on any of the
functions, the host VLAN ID overrides the corresponding LPVID channel configured in
the BIOS. Up to 15 VLAN IDs can be configured in the host for each PF using vconfig.
The VLAN IDs configured in the host should be different from the channel VLAN IDs
configured in the BIOS. For additional information on UMC, refer to the Emulex
Universal Multichannel Reference Guide.
Notes:


You cannot run (LACP) when UMC is enabled.
LPe16202 CFAs do not support UMC.
Emulex Drivers for Linux User Manual
P009797-01A Rev. A
33