Tobin C. Harding | 32e6996 | 2018-06-22 10:37:05 +1000 | [diff] [blame] | 1 | ============================================================== |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | Linux* Base Driver for the Intel(R) PRO/100 Family of Adapters |
| 3 | ============================================================== |
| 4 | |
Jeff Kirsher | 85d63445 | 2018-05-10 12:20:13 -0700 | [diff] [blame] | 5 | June 1, 2018 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | |
| 7 | Contents |
| 8 | ======== |
| 9 | |
| 10 | - In This Release |
| 11 | - Identifying Your Adapter |
Jesse Brandeburg | 823f8dd | 2006-03-14 15:51:07 -0800 | [diff] [blame] | 12 | - Building and Installation |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | - Driver Configuration Parameters |
| 14 | - Additional Configurations |
Jesse Brandeburg | 823f8dd | 2006-03-14 15:51:07 -0800 | [diff] [blame] | 15 | - Known Issues |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | - Support |
| 17 | |
| 18 | |
| 19 | In This Release |
| 20 | =============== |
| 21 | |
| 22 | This file describes the Linux* Base Driver for the Intel(R) PRO/100 Family of |
Jesse Brandeburg | 823f8dd | 2006-03-14 15:51:07 -0800 | [diff] [blame] | 23 | Adapters. This driver includes support for Itanium(R)2-based systems. |
| 24 | |
| 25 | For questions related to hardware requirements, refer to the documentation |
| 26 | supplied with your Intel PRO/100 adapter. |
| 27 | |
| 28 | The following features are now available in supported kernels: |
| 29 | - Native VLANs |
| 30 | - Channel Bonding (teaming) |
| 31 | - SNMP |
| 32 | |
| 33 | Channel Bonding documentation can be found in the Linux kernel source: |
| 34 | /Documentation/networking/bonding.txt |
| 35 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 36 | |
| 37 | Identifying Your Adapter |
| 38 | ======================== |
| 39 | |
Jeff Kirsher | 85d63445 | 2018-05-10 12:20:13 -0700 | [diff] [blame] | 40 | For information on how to identify your adapter, and for the latest Intel |
| 41 | network drivers, refer to the Intel Support website: |
| 42 | http://www.intel.com/support |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 43 | |
| 44 | Driver Configuration Parameters |
| 45 | =============================== |
| 46 | |
| 47 | The default value for each parameter is generally the recommended setting, |
| 48 | unless otherwise noted. |
| 49 | |
Mauro Carvalho Chehab | b203cc7 | 2018-06-26 06:49:09 -0300 | [diff] [blame] | 50 | Rx Descriptors: |
| 51 | Number of receive descriptors. A receive descriptor is a data |
Jesse Brandeburg | 823f8dd | 2006-03-14 15:51:07 -0800 | [diff] [blame] | 52 | structure that describes a receive buffer and its attributes to the network |
| 53 | controller. The data in the descriptor is used by the controller to write |
| 54 | data from the controller to host memory. In the 3.x.x driver the valid range |
Jeff Kirsher | 85d63445 | 2018-05-10 12:20:13 -0700 | [diff] [blame] | 55 | for this parameter is 64-256. The default value is 256. This parameter can be |
| 56 | changed using the command:: |
Jesse Brandeburg | 823f8dd | 2006-03-14 15:51:07 -0800 | [diff] [blame] | 57 | |
Mauro Carvalho Chehab | b203cc7 | 2018-06-26 06:49:09 -0300 | [diff] [blame] | 58 | ethtool -G eth? rx n |
Jeff Kirsher | 85d63445 | 2018-05-10 12:20:13 -0700 | [diff] [blame] | 59 | |
| 60 | Where n is the number of desired Rx descriptors. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 61 | |
Mauro Carvalho Chehab | b203cc7 | 2018-06-26 06:49:09 -0300 | [diff] [blame] | 62 | Tx Descriptors: |
| 63 | Number of transmit descriptors. A transmit descriptor is a data |
Jesse Brandeburg | 823f8dd | 2006-03-14 15:51:07 -0800 | [diff] [blame] | 64 | structure that describes a transmit buffer and its attributes to the network |
| 65 | controller. The data in the descriptor is used by the controller to read |
| 66 | data from the host memory to the controller. In the 3.x.x driver the valid |
Jeff Kirsher | 85d63445 | 2018-05-10 12:20:13 -0700 | [diff] [blame] | 67 | range for this parameter is 64-256. The default value is 128. This parameter |
| 68 | can be changed using the command:: |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 69 | |
Mauro Carvalho Chehab | b203cc7 | 2018-06-26 06:49:09 -0300 | [diff] [blame] | 70 | ethtool -G eth? tx n |
Jeff Kirsher | 85d63445 | 2018-05-10 12:20:13 -0700 | [diff] [blame] | 71 | |
| 72 | Where n is the number of desired Tx descriptors. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 73 | |
Mauro Carvalho Chehab | b203cc7 | 2018-06-26 06:49:09 -0300 | [diff] [blame] | 74 | Speed/Duplex: |
| 75 | The driver auto-negotiates the link speed and duplex settings by |
Jeff Kirsher | 85d63445 | 2018-05-10 12:20:13 -0700 | [diff] [blame] | 76 | default. The ethtool utility can be used as follows to force speed/duplex.:: |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 77 | |
Mauro Carvalho Chehab | b203cc7 | 2018-06-26 06:49:09 -0300 | [diff] [blame] | 78 | ethtool -s eth? autoneg off speed {10|100} duplex {full|half} |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 79 | |
| 80 | NOTE: setting the speed/duplex to incorrect values will cause the link to |
| 81 | fail. |
| 82 | |
Mauro Carvalho Chehab | b203cc7 | 2018-06-26 06:49:09 -0300 | [diff] [blame] | 83 | Event Log Message Level: |
| 84 | The driver uses the message level flag to log events |
Jesse Brandeburg | 823f8dd | 2006-03-14 15:51:07 -0800 | [diff] [blame] | 85 | to syslog. The message level can be set at driver load time. It can also be |
Jeff Kirsher | 85d63445 | 2018-05-10 12:20:13 -0700 | [diff] [blame] | 86 | set using the command:: |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 87 | |
Mauro Carvalho Chehab | b203cc7 | 2018-06-26 06:49:09 -0300 | [diff] [blame] | 88 | ethtool -s eth? msglvl n |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 89 | |
Jesse Brandeburg | 823f8dd | 2006-03-14 15:51:07 -0800 | [diff] [blame] | 90 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 91 | Additional Configurations |
| 92 | ========================= |
| 93 | |
Tobin C. Harding | 3b0c3eb | 2018-06-22 10:37:07 +1000 | [diff] [blame] | 94 | Configuring the Driver on Different Distributions |
| 95 | ------------------------------------------------- |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 96 | |
Tobin C. Harding | 3b0c3eb | 2018-06-22 10:37:07 +1000 | [diff] [blame] | 97 | Configuring a network driver to load properly when the system is started |
| 98 | is distribution dependent. Typically, the configuration process involves |
Mauro Carvalho Chehab | b203cc7 | 2018-06-26 06:49:09 -0300 | [diff] [blame] | 99 | adding an alias line to `/etc/modprobe.d/*.conf` as well as editing other |
Tobin C. Harding | 3b0c3eb | 2018-06-22 10:37:07 +1000 | [diff] [blame] | 100 | system startup scripts and/or configuration files. Many popular Linux |
| 101 | distributions ship with tools to make these changes for you. To learn |
| 102 | the proper way to configure a network device for your system, refer to |
| 103 | your distribution documentation. If during this process you are asked |
| 104 | for the driver or module name, the name for the Linux Base Driver for |
| 105 | the Intel PRO/100 Family of Adapters is e100. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 106 | |
Tobin C. Harding | 3b0c3eb | 2018-06-22 10:37:07 +1000 | [diff] [blame] | 107 | As an example, if you install the e100 driver for two PRO/100 adapters |
| 108 | (eth0 and eth1), add the following to a configuration file in |
| 109 | /etc/modprobe.d/:: |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 110 | |
| 111 | alias eth0 e100 |
| 112 | alias eth1 e100 |
| 113 | |
Tobin C. Harding | 3b0c3eb | 2018-06-22 10:37:07 +1000 | [diff] [blame] | 114 | Viewing Link Messages |
| 115 | --------------------- |
| 116 | |
| 117 | In order to see link messages and other Intel driver information on your |
| 118 | console, you must set the dmesg level up to six. This can be done by |
| 119 | entering the following on the command line before loading the e100 |
| 120 | driver:: |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 121 | |
Jeff Kirsher | 85d63445 | 2018-05-10 12:20:13 -0700 | [diff] [blame] | 122 | dmesg -n 6 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 123 | |
Tobin C. Harding | 3b0c3eb | 2018-06-22 10:37:07 +1000 | [diff] [blame] | 124 | If you wish to see all messages issued by the driver, including debug |
| 125 | messages, set the dmesg level to eight. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 126 | |
Tobin C. Harding | 3b0c3eb | 2018-06-22 10:37:07 +1000 | [diff] [blame] | 127 | NOTE: This setting is not saved across reboots. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 128 | |
Tobin C. Harding | 3b0c3eb | 2018-06-22 10:37:07 +1000 | [diff] [blame] | 129 | ethtool |
| 130 | ------- |
Jesse Brandeburg | 823f8dd | 2006-03-14 15:51:07 -0800 | [diff] [blame] | 131 | |
Tobin C. Harding | 3b0c3eb | 2018-06-22 10:37:07 +1000 | [diff] [blame] | 132 | The driver utilizes the ethtool interface for driver configuration and |
| 133 | diagnostics, as well as displaying statistical information. The ethtool |
| 134 | version 1.6 or later is required for this functionality. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 135 | |
Tobin C. Harding | 3b0c3eb | 2018-06-22 10:37:07 +1000 | [diff] [blame] | 136 | The latest release of ethtool can be found from |
| 137 | https://www.kernel.org/pub/software/network/ethtool/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 138 | |
Tobin C. Harding | 3b0c3eb | 2018-06-22 10:37:07 +1000 | [diff] [blame] | 139 | Enabling Wake on LAN* (WoL) |
| 140 | --------------------------- |
| 141 | WoL is provided through the ethtool* utility. For instructions on |
| 142 | enabling WoL with ethtool, refer to the ethtool man page. WoL will be |
| 143 | enabled on the system during the next shut down or reboot. For this |
| 144 | driver version, in order to enable WoL, the e100 driver must be loaded |
| 145 | when shutting down or rebooting the system. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 146 | |
Tobin C. Harding | 3b0c3eb | 2018-06-22 10:37:07 +1000 | [diff] [blame] | 147 | NAPI |
| 148 | ---- |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 149 | |
Tobin C. Harding | 3b0c3eb | 2018-06-22 10:37:07 +1000 | [diff] [blame] | 150 | NAPI (Rx polling mode) is supported in the e100 driver. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 151 | |
Tobin C. Harding | 3b0c3eb | 2018-06-22 10:37:07 +1000 | [diff] [blame] | 152 | See https://wiki.linuxfoundation.org/networking/napi for more |
| 153 | information on NAPI. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 154 | |
Tobin C. Harding | 3b0c3eb | 2018-06-22 10:37:07 +1000 | [diff] [blame] | 155 | Multiple Interfaces on Same Ethernet Broadcast Network |
| 156 | ------------------------------------------------------ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 157 | |
Tobin C. Harding | 3b0c3eb | 2018-06-22 10:37:07 +1000 | [diff] [blame] | 158 | Due to the default ARP behavior on Linux, it is not possible to have one |
| 159 | system on two IP networks in the same Ethernet broadcast domain |
| 160 | (non-partitioned switch) behave as expected. All Ethernet interfaces |
| 161 | will respond to IP traffic for any IP address assigned to the system. |
| 162 | This results in unbalanced receive traffic. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 163 | |
Tobin C. Harding | 3b0c3eb | 2018-06-22 10:37:07 +1000 | [diff] [blame] | 164 | If you have multiple interfaces in a server, either turn on ARP |
| 165 | filtering by |
Jesse Brandeburg | 823f8dd | 2006-03-14 15:51:07 -0800 | [diff] [blame] | 166 | |
Mauro Carvalho Chehab | b203cc7 | 2018-06-26 06:49:09 -0300 | [diff] [blame] | 167 | (1) entering:: |
| 168 | |
| 169 | echo 1 > /proc/sys/net/ipv4/conf/all/arp_filter |
| 170 | |
Tobin C. Harding | 3b0c3eb | 2018-06-22 10:37:07 +1000 | [diff] [blame] | 171 | (this only works if your kernel's version is higher than 2.4.5), or |
Jesse Brandeburg | 823f8dd | 2006-03-14 15:51:07 -0800 | [diff] [blame] | 172 | |
Tobin C. Harding | 3b0c3eb | 2018-06-22 10:37:07 +1000 | [diff] [blame] | 173 | (2) installing the interfaces in separate broadcast domains (either |
| 174 | in different switches or in a switch partitioned to VLANs). |
Jesse Brandeburg | 823f8dd | 2006-03-14 15:51:07 -0800 | [diff] [blame] | 175 | |
| 176 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 177 | Support |
| 178 | ======= |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 179 | For general information, go to the Intel support website at: |
Jeff Kirsher | 85d63445 | 2018-05-10 12:20:13 -0700 | [diff] [blame] | 180 | http://www.intel.com/support/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 181 | |
Jeff Kirsher | 85d63445 | 2018-05-10 12:20:13 -0700 | [diff] [blame] | 182 | or the Intel Wired Networking project hosted by Sourceforge at: |
| 183 | http://sourceforge.net/projects/e1000 |
| 184 | If an issue is identified with the released source code on a supported kernel |
| 185 | with a supported adapter, email the specific information related to the issue |
| 186 | to e1000-devel@lists.sf.net. |