xref: /freebsd/share/man/man4/ice.4 (revision c57c26179033f64c2011a2d2a904ee3fa62e826a)
1.\"-
2.\" SPDX-License-Identifier: BSD-3-Clause
3.\"
4.\" Copyright (c) 2019-2020, Intel Corporation
5.\" All rights reserved.
6.\"
7.\" Redistribution and use in source and binary forms of the Software, with or
8.\" without modification, are permitted provided that the following conditions
9.\" are met:
10.\" 1. Redistributions of source code must retain the above copyright notice,
11.\"    this list of conditions and the following disclaimer.
12.\"
13.\" 2. Redistributions in binary form must reproduce the above copyright notice,
14.\"    this list of conditions and the following disclaimer in the documentation
15.\"    and/or other materials provided with the distribution.
16.\"
17.\" 3. Neither the name of the Intel Corporation nor the names of its
18.\"    contributors may be used to endorse or promote products derived from
19.\"    this Software without specific prior written permission.
20.\"
21.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
22.\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24.\" ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
25.\" LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
26.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
27.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
28.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
29.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
30.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
31.\" POSSIBILITY OF SUCH DAMAGE.
32.\"
33.\" * Other names and brands may be claimed as the property of others.
34.\"
35.Dd May 20, 2024
36.Dt ICE 4
37.Os
38.Sh NAME
39.Nm ice
40.Nd "Intel Ethernet 800 Series Driver"
41.Sh SYNOPSIS
42To compile this driver into the kernel, place the following lines in your
43kernel configuration file:
44.Bd -ragged -offset indent
45.Cd "device iflib"
46.Cd "device ice"
47.Ed
48.Pp
49To load the driver as a module at boot time, place the following lines in
50.Xr loader.conf 5 :
51.Bd -literal -offset indent
52if_ice_load="YES"
53.Ed
54.Sh DESCRIPTION
55.Ss Features
56The
57.Nm
58driver provides support for any PCI Express adapter or LOM
59(LAN On Motherboard)
60in the Intel Ethernet 800 Series.
61As of this writing, the series includes devices with these model numbers:
62.Pp
63.Bl -bullet -compact
64.It
65Intel\(rg Ethernet Controller E810\-C
66.It
67Intel\(rg Ethernet Controller E810\-XXV
68.It
69Intel\(rg Ethernet Connection E822\-C
70.It
71Intel\(rg Ethernet Connection E822\-L
72.It
73Intel\(rg Ethernet Connection E823\-C
74.It
75Intel\(rg Ethernet Connection E823\-L
76.El
77.Pp
78For questions related to hardware requirements, refer to the documentation
79supplied with your adapter.
80.Pp
81Support for Jumbo Frames is provided via the interface MTU setting.
82Selecting an MTU larger than 1500 bytes with the
83.Xr ifconfig 8
84utility configures the adapter to receive and transmit Jumbo Frames.
85The maximum MTU size for Jumbo Frames is 9706.
86This value coincides with the maximum Jumbo Frame size of 9728.
87.Pp
88This driver version supports VLANs.
89For information on enabling VLANs, see the
90.Pa README .
91.Pp
92Offloads are also controlled via the interface, for instance, checksumming for
93both IPv4 and IPv6 can be set and unset, TSO4 and/or TSO6, and finally LRO can
94be set and unset.
95.Pp
96For more information on configuring this device, see
97.Xr ifconfig 8 .
98.Ss Additional Utilities
99There are additional tools available from Intel to help configure and update
100the adapters covered by this driver.
101These tools can be downloaded directly from Intel at
102.Lk https://downloadcenter.intel.com ,
103by searching for their names, or by installing certain packages:
104.Bl -bullet
105.It
106To change the behavior of the QSFP28 ports on E810-C adapters, use the
107Intel EPCT (Ethernet Port configuration tool); installed by the
108.Em sysutils/intel-epct
109package.
110.It
111To update the firmware on an adapter, use the Intel Non-Volatile Memory (NVM)
112Update Utility for Intel Network Adapter 800 series; installed by the
113.Em sysutils/intel-nvmupdate-100g
114package.
115.El
116.Sh HARDWARE
117Most adapters in the Intel Ethernet 800 Series with SFP28/QSFP28 cages
118have firmware that requires that Intel qualified modules are used; these
119qualified modules are listed below.
120This qualification check cannot be disabled by the driver.
121.Pp
122The
123.Nm
124driver supports 100Gb Ethernet adapters with these QSFP28 modules:
125.Pp
126.Bl -bullet -compact
127.It
128Intel\(rg 100G QSFP28 100GBASE-SR4   E100GQSFPSR28SRX
129.It
130Intel\(rg 100G QSFP28 100GBASE-SR4   SPTMBP1PMCDF
131.It
132Intel\(rg 100G QSFP28 100GBASE-CWDM4 SPTSBP3CLCCO
133.It
134Intel\(rg 100G QSFP28 100GBASE-DR    SPTSLP2SLCDF
135.El
136.Pp
137The
138.Nm
139driver supports 25Gb and 10Gb Ethernet adapters with these SFP28 modules:
140.Pp
141.Bl -bullet -compact
142.It
143Intel\(rg 10G/25G SFP28 25GBASE-SR E25GSFP28SR
144.It
145Intel\(rg     25G SFP28 25GBASE-SR E25GSFP28SRX (Extended Temp)
146.It
147Intel\(rg     25G SFP28 25GBASE-LR E25GSFP28LRX (Extended Temp)
148.El
149.Pp
150The
151.Nm
152driver supports 10Gb and 1Gb Ethernet adapters with these SFP+ modules:
153.Pp
154.Bl -bullet -compact
155.It
156Intel\(rg 1G/10G SFP+ 10GBASE-SR E10GSFPSR
157.It
158Intel\(rg 1G/10G SFP+ 10GBASE-SR E10GSFPSRG1P5
159.It
160Intel\(rg 1G/10G SFP+ 10GBASE-SR E10GSFPSRG2P5
161.It
162Intel\(rg    10G SFP+ 10GBASE-SR E10GSFPSRX (Extended Temp)
163.It
164Intel\(rg 1G/10G SFP+ 10GBASE-LR E10GSFPLR
165.El
166.Pp
167Note that adapters also support all passive and active
168limiting direct attach cables that comply with SFF-8431 v4.1 and
169SFF-8472 v10.4 specifications.
170.Pp
171This is not an exhaustive list; please consult product documentation for an
172up-to-date list of supported media.
173.Sh LOADER TUNABLES
174Tunables can be set at the
175.Xr loader 8
176prompt before booting the kernel or stored in
177.Xr loader.conf 5 .
178See the
179.Xr iflib 4
180man page for more information on using iflib sysctl variables as tunables.
181.Bl -tag -width indent
182.It Va hw.ice.#.enable_health_events
183TBW
184.It Va hw.ice.#.debug.enable_tx_fc_filter
185TBW
186.It Va hw.ice.#.debug.enable_tx_lldp_filter
187TBW
188.It Va hw.ice.#.debug.enable_health_events
189TBW
190.El
191.Sh SYSCTL PROCEDURES
192.Bl -tag -width indent
193.It Va dev.ice.#.fc
194Allows one to set the flow control value.
195A value of 0 disables flow control, 3 enables full, 1 is RX, and 2 is
196TX pause.
197.It Va dev.ice.#.advertise_speed
198Allows one to set advertised link speeds, this will then cause a link
199renegotiation.
200.It Va dev.ice.#.current_speed
201This is a display of the current setting.
202.It Va dev.ice.#.fw_version
203Displays the current firmware and NVM versions of the adapter.
204.It Va dev.ice.#.ddp_version
205TBW
206.It Va dev.ice.#.requested_fec
207TBW
208.It Va dev.ice.#.negotiated_fec
209TBW
210.It Va dev.ice.#.fw_lldp_agent
211TBW
212.It Va dev.ice.#.ets_min_rate
213TBW
214.It Va dev.ice.#.up2tc_map
215TBW
216.It Va dev.ice.#.pfc
217TBW
218.El
219.Sh INTERRUPT STORMS
220It is important to note that 100G operation can generate high
221numbers of interrupts, often incorrectly being interpreted as
222a storm condition in the kernel.
223It is suggested that this be resolved by setting
224.Va hw.intr_storm_threshold
225to 0.
226.Sh SUPPORT
227For general information and support,
228go to the Intel support website at:
229.Lk http://www.intel.com/support/ .
230.Pp
231If an issue is identified with this driver with a supported adapter,
232email all the specific information related to the issue to
233.Aq Mt freebsd@intel.com .
234.Sh SEE ALSO
235.Xr arp 4 ,
236.Xr iflib 4 ,
237.Xr netintro 4 ,
238.Xr ng_ether 4 ,
239.Xr vlan 4 ,
240.Xr ifconfig 8
241.Sh HISTORY
242The
243.Nm
244device driver first appeared in
245.Fx 12.2 .
246.Sh AUTHORS
247The
248.Nm
249driver was written by
250.An Intel Corporation Aq Mt freebsd@intel.com .
251