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
1.. SPDX-License-Identifier: GPL-2.0+
2
3Linux* Base Driver for the Intel(R) PRO/100 Family of Adapters
4==============================================================
5
6June 1, 2018
7
8Contents
9========
10
11- In This Release
12- Identifying Your Adapter
13- Building and Installation
14- Driver Configuration Parameters
15- Additional Configurations
16- Known Issues
17- Support
18
19
20In This Release
21===============
22
23This file describes the Linux* Base Driver for the Intel(R) PRO/100 Family of
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
37
38Identifying Your Adapter
39========================
40
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
44
45Driver Configuration Parameters
46===============================
47
48The default value for each parameter is generally the recommended setting,
49unless otherwise noted.
50
51Rx Descriptors:
52 Number of receive descriptors. A receive descriptor is a data
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
56 for this parameter is 64-256. The default value is 256. This parameter can be
57 changed using the command::
58
59 ethtool -G eth? rx n
60
61 Where n is the number of desired Rx descriptors.
62
63Tx Descriptors:
64 Number of transmit descriptors. A transmit descriptor is a data
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
68 range for this parameter is 64-256. The default value is 128. This parameter
69 can be changed using the command::
70
71 ethtool -G eth? tx n
72
73 Where n is the number of desired Tx descriptors.
74
75Speed/Duplex:
76 The driver auto-negotiates the link speed and duplex settings by
77 default. The ethtool utility can be used as follows to force speed/duplex.::
78
79 ethtool -s eth? autoneg off speed {10|100} duplex {full|half}
80
81 NOTE: setting the speed/duplex to incorrect values will cause the link to
82 fail.
83
84Event Log Message Level:
85 The driver uses the message level flag to log events
86 to syslog. The message level can be set at driver load time. It can also be
87 set using the command::
88
89 ethtool -s eth? msglvl n
90
91
92Additional Configurations
93=========================
94
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
100adding an alias line to `/etc/modprobe.d/*.conf` as well as editing other
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/::
111
112 alias eth0 e100
113 alias eth1 e100
114
115Viewing Link Messages
116---------------------
117
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::
122
123 dmesg -n 6
124
125If you wish to see all messages issued by the driver, including debug
126messages, set the dmesg level to eight.
127
128NOTE: This setting is not saved across reboots.
129
130ethtool
131-------
132
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.
136
137The latest release of ethtool can be found from
138https://www.kernel.org/pub/software/network/ethtool/
139
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.
147
148NAPI
149----
150
151NAPI (Rx polling mode) is supported in the e100 driver.
152
153See https://wiki.linuxfoundation.org/networking/napi for more
154information on NAPI.
155
156Multiple Interfaces on Same Ethernet Broadcast Network
157------------------------------------------------------
158
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.
164
165If you have multiple interfaces in a server, either turn on ARP
166filtering by
167
168(1) entering::
169
170 echo 1 > /proc/sys/net/ipv4/conf/all/arp_filter
171
172 (this only works if your kernel's version is higher than 2.4.5), or
173
174(2) installing the interfaces in separate broadcast domains (either
175 in different switches or in a switch partitioned to VLANs).
176
177
178Support
179=======
180For general information, go to the Intel support website at:
181http://www.intel.com/support/
182
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.