📄 readme
字号:
80-4096 for all other supported adaptersDefault Value: 256This value specifies the number of receive buffer descriptors allocatedby the driver. Increasing this value allows the driver to buffer moreincoming packets, at the expense of increased system memory utilization.Each descriptor is 16 bytes. A receive buffer is also allocated for eachdescriptor and can be either 2048, 4096, 8192, or 16384 bytes, depending on the MTU setting. The maximum MTU size is 16110.NOTE: MTU designates the frame size. It only needs to be set for Jumbo Frames. Depending on the available system resources, the request for a higher number of receive descriptors may be denied. In this case, use a lower number.RxIntDelay----------Valid Range: 0-65535 (0=off)Default Value: 0This value delays the generation of receive interrupts in units of 1.024microseconds. Receive interrupt reduction can improve CPU efficiency ifproperly tuned for specific network traffic. Increasing this value addsextra latency to frame reception and can end up decreasing the throughputof TCP traffic. If the system is reporting dropped receives, this valuemay be set too high, causing the driver to run out of available receivedescriptors.CAUTION: When setting RxIntDelay to a value other than 0, adapters may hang (stop transmitting) under certain network conditions. If this occurs a NETDEV WATCHDOG message is logged in the system event log. In addition, the controller is automatically reset, restoring the network connection. To eliminate the potential for the hang ensure that RxIntDelay is set to 0.RxAbsIntDelay-------------(This parameter is supported only on 82540, 82545 and later adapters.)Valid Range: 0-65535 (0=off)Default Value: 8This value, in units of 1.024 microseconds, limits the delay in which areceive interrupt is generated. Useful only if RxIntDelay is non-zero,this value ensures that an interrupt is generated after the initialpacket is received within the set amount of time. Proper tuning,along with RxIntDelay, may improve traffic throughput in specific networkconditions.Speed-----(This parameter is supported only on adapters with copper connections.)Valid Settings: 0, 10, 100, 1000Default Value: 0 (auto-negotiate at all supported speeds)Speed forces the line speed to the specified value in megabits per second(Mbps). If this parameter is not specified or is set to 0 and the linkpartner is set to auto-negotiate, the board will auto-detect the correctspeed. Duplex should also be set when Speed is set to either 10 or 100.TxDescriptors-------------Valid Range: 80-256 for 82542 and 82543-based adapters 80-4096 for all other supported adaptersDefault Value: 256This value is the number of transmit descriptors allocated by the driver.Increasing this value allows the driver to queue more transmits. Eachdescriptor is 16 bytes.NOTE: Depending on the available system resources, the request for a higher number of transmit descriptors may be denied. In this case, use a lower number.TxIntDelay----------Valid Range: 0-65535 (0=off)Default Value: 8This value delays the generation of transmit interrupts in units of1.024 microseconds. Transmit interrupt reduction can improve CPUefficiency if properly tuned for specific network traffic. If thesystem is reporting dropped transmits, this value may be set too highcausing the driver to run out of available transmit descriptors.TxAbsIntDelay-------------(This parameter is supported only on 82540, 82545 and later adapters.)Valid Range: 0-65535 (0=off)Default Value: 32This value, in units of 1.024 microseconds, limits the delay in which atransmit interrupt is generated. Useful only if TxIntDelay is non-zero,this value ensures that an interrupt is generated after the initialpacket is sent on the wire within the set amount of time. Proper tuning,along with TxIntDelay, may improve traffic throughput in specificnetwork conditions.XsumRX------(This parameter is NOT supported on the 82542-based adapter.)Valid Range: 0-1Default Value: 1A value of '1' indicates that the driver should enable IP checksumoffload for received packets (both UDP and TCP) to the adapter hardware.Copybreak---------Valid Range: 0-xxxxxxx (0=off)Default Value: 256Usage: insmod e1000.ko copybreak=128Driver copies all packets below or equaling this size to a fresh rxbuffer before handing it up the stack.This parameter is different than other parameters, in that it is asingle (not 1,1,1 etc.) parameter applied to all driver instances andit is also available during runtime at /sys/module/e1000/parameters/copybreakSmartPowerDownEnable--------------------Valid Range: 0-1Default Value: 0 (disabled)Allows Phy to turn off in lower power states. The user can turn offthis parameter in supported chipsets.KumeranLockLoss---------------Valid Range: 0-1Default Value: 1 (enabled)This workaround skips resetting the Phy at shutdown for the initialsilicon releases of ICH8 systems.Speed and Duplex Configuration==============================Three keywords are used to control the speed and duplex configuration.These keywords are Speed, Duplex, and AutoNeg.If the board uses a fiber interface, these keywords are ignored, and thefiber interface board only links at 1000 Mbps full-duplex.For copper-based boards, the keywords interact as follows: The default operation is auto-negotiate. The board advertises all supported speed and duplex combinations, and it links at the highest common speed and duplex mode IF the link partner is set to auto-negotiate. If Speed = 1000, limited auto-negotiation is enabled and only 1000 Mbps is advertised (The 1000BaseT spec requires auto-negotiation.) If Speed = 10 or 100, then both Speed and Duplex should be set. Auto- negotiation is disabled, and the AutoNeg parameter is ignored. Partner SHOULD also be forced.The AutoNeg parameter is used when more control is required over theauto-negotiation process. It should be used when you wish to control whichspeed and duplex combinations are advertised during the auto-negotiationprocess.The parameter may be specified as either a decimal or hexadecimal value asdetermined by the bitmap below.Bit position 7 6 5 4 3 2 1 0Decimal Value 128 64 32 16 8 4 2 1Hex value 80 40 20 10 8 4 2 1Speed (Mbps) N/A N/A 1000 N/A 100 100 10 10Duplex Full Full Half Full HalfSome examples of using AutoNeg: modprobe e1000 AutoNeg=0x01 (Restricts autonegotiation to 10 Half) modprobe e1000 AutoNeg=1 (Same as above) modprobe e1000 AutoNeg=0x02 (Restricts autonegotiation to 10 Full) modprobe e1000 AutoNeg=0x03 (Restricts autonegotiation to 10 Half or 10 Full) modprobe e1000 AutoNeg=0x04 (Restricts autonegotiation to 100 Half) modprobe e1000 AutoNeg=0x05 (Restricts autonegotiation to 10 Half or 100 Half) modprobe e1000 AutoNeg=0x020 (Restricts autonegotiation to 1000 Full) modprobe e1000 AutoNeg=32 (Same as above)Note that when this parameter is used, Speed and Duplex must not be specified.If the link partner is forced to a specific speed and duplex, then thisparameter should not be used. Instead, use the Speed and Duplex parameterspreviously mentioned to force the adapter to the same speed and duplex.Additional Configurations========================= Configuring the Driver on Different Distributions ------------------------------------------------- Configuring a network driver to load properly when the system is started is distribution dependent. Typically, the configuration process involves adding an alias line to /etc/modules.conf or /etc/modprobe.conf as well as editing other system startup scripts and/or configuration files. Many popular Linux distributions ship with tools to make these changes for you. To learn the proper way to configure a network device for your system, refer to your distribution documentation. If during this process you are asked for the driver or module name, the name for the Linux Base Driver for the Gigabit Family of Adapters is e1000. As an example, if you install the e1000 driver for two Gigabit adapters (eth0 and eth1) and set the speed and duplex to 10full and 100half, add the following to modules.conf or or modprobe.conf: alias eth0 e1000 alias eth1 e1000 options e1000 Speed=10,100 Duplex=2,1 Viewing Link Messages --------------------- Link messages will not be displayed to the console if the distribution is restricting system messages. In order to see network driver link messages on your console, set dmesg to eight by entering the following: dmesg -n 8 NOTE: This setting is not saved across reboots. Jumbo Frames ------------ Jumbo Frames support is enabled by changing the MTU to a value larger than the default of 1500. Use the ifconfig command to increase the MTU size. For example: ifconfig eth<x> mtu 9000 up This setting is not saved across reboots. It can be made permanent if you add: MTU=9000 to the file /etc/sysconfig/network-scripts/ifcfg-eth<x>. This example applies to the Red Hat distributions; other distributions may store this setting in a different location. Notes: - To enable Jumbo Frames, increase the MTU size on the interface beyond 1500. - The maximum MTU setting for Jumbo Frames is 16110. This value coincides with the maximum Jumbo Frames size of 16128. - Using Jumbo Frames at 10 or 100 Mbps may result in poor performance or loss of link. - Some Intel gigabit adapters that support Jumbo Frames have a frame size limit of 9238 bytes, with a corresponding MTU size limit of 9216 bytes. The adapters with this limitation are based on the Intel(R) 82571EB, 82572EI, 82573L, 82566, 82562, and 80003ES2LAN controller. These correspond to the following product names: Intel(R) PRO/1000 PT Server Adapter Intel(R) PRO/1000 PT Desktop Adapter Intel(R) PRO/1000 PT Network Connection Intel(R) PRO/1000 PT Dual Port Server Adapter Intel(R) PRO/1000 PT Dual Port Network Connection Intel(R) PRO/1000 PF Server Adapter Intel(R) PRO/1000 PF Network Connection Intel(R) PRO/1000 PF Dual Port Server Adapter Intel(R) PRO/1000 PB Server Connection Intel(R) PRO/1000 PL Network Connection Intel(R) PRO/1000 EB Network Connection with I/O Acceleration Intel(R) PRO/1000 EB Backplane Connection with I/O Acceleration Intel(R) PRO/1000 PT Quad Port Server Adapter Intel(R) PRO/1000 PF Quad Port Server Adapter Intel(R) 82566DM-2 Gigabit Network Connection Intel(R) Gigabit PT Quad Port Server ExpressModule - Adapters based on the Intel(R) 82542 and 82573V/E controller do not support Jumbo Frames. These correspond to the following product names: Intel(R) PRO/1000 Gigabit Server Adapter
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -