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