1517904deSPeter Grehan.\"- 2517904deSPeter Grehan.\" Copyright 2021 Intel Corp 3517904deSPeter Grehan.\" Copyright 2021 Rubicon Communications, LLC (Netgate) 4517904deSPeter Grehan.\" SPDX-License-Identifier: BSD-3-Clause 5517904deSPeter Grehan.\" 6f221d35bSMarius Strobl.Dd January 9, 2023 7331d4f3cSTrond Endrestol.Dt IGC 4 8517904deSPeter Grehan.Os 9517904deSPeter Grehan.Sh NAME 10517904deSPeter Grehan.Nm igc 11517904deSPeter Grehan.Nd "Intel Ethernet Controller I225 driver" 12517904deSPeter Grehan.Sh SYNOPSIS 13517904deSPeter GrehanTo compile this driver into the kernel, 14517904deSPeter Grehanplace the following lines in your 15517904deSPeter Grehankernel configuration file: 16517904deSPeter Grehan.Bd -ragged -offset indent 17517904deSPeter Grehan.Cd "device iflib" 18517904deSPeter Grehan.Cd "device igc" 19517904deSPeter Grehan.Ed 20517904deSPeter Grehan.Pp 21517904deSPeter GrehanAlternatively, to load the driver as a 22517904deSPeter Grehanmodule at boot time, place the following line in 23517904deSPeter Grehan.Xr loader.conf 5 : 24517904deSPeter Grehan.Bd -literal -offset indent 25517904deSPeter Grehanif_igc_load="YES" 26517904deSPeter Grehan.Ed 27517904deSPeter Grehan.Sh DESCRIPTION 28517904deSPeter GrehanThe 29517904deSPeter Grehan.Nm 30517904deSPeter Grehandriver provides support for any PCI Express adapter or LOM (LAN 31517904deSPeter GrehanOn Motherboard) based on the Intel I225 Multi Gigabit Controller. 32517904deSPeter GrehanThe driver supports Transmit/Receive checksum offload, Jumbo Frames, 33517904deSPeter GrehanMSI/MSI-X, TSO, and RSS. 34517904deSPeter Grehan.Pp 35517904deSPeter GrehanSupport for Jumbo Frames is provided via the interface MTU setting. 36517904deSPeter GrehanSelecting an MTU larger than 1500 bytes with the 37517904deSPeter Grehan.Xr ifconfig 8 38517904deSPeter Grehanutility 39517904deSPeter Grehanconfigures the adapter to receive and transmit Jumbo Frames. 40517904deSPeter GrehanThe maximum MTU size for Jumbo Frames is 9216 bytes. 41517904deSPeter Grehan.Pp 42517904deSPeter GrehanThis driver version supports VLAN hardware insertion / extraction, and 43517904deSPeter GrehanVLAN checksum offload. 44517904deSPeter GrehanFor information on enabling VLANs, see 45517904deSPeter Grehan.Xr ifconfig 8 . 46517904deSPeter GrehanThe 47517904deSPeter Grehan.Nm 48517904deSPeter Grehandriver supports the following media types: 49517904deSPeter Grehan.Bl -tag -width ".Cm 10baseT/UTP" 50517904deSPeter Grehan.It Cm autoselect 51517904deSPeter GrehanEnables auto-negotiation for speed and duplex. 52517904deSPeter Grehan.It Cm 10baseT/UTP 53517904deSPeter GrehanSets 10Mbps operation. 54517904deSPeter GrehanUse the 55517904deSPeter Grehan.Cm mediaopt 56517904deSPeter Grehanoption to select 57517904deSPeter Grehan.Cm half-duplex 58517904deSPeter Grehanmode. 59517904deSPeter Grehan.It Cm 100baseTX 60517904deSPeter GrehanSets 100Mbps operation. 61517904deSPeter GrehanUse the 62517904deSPeter Grehan.Cm mediaopt 63517904deSPeter Grehanoption to select 64517904deSPeter Grehan.Cm half-duplex 65517904deSPeter Grehanmode. 66517904deSPeter Grehan.It Cm 1000baseT 67517904deSPeter GrehanSets 1000Mbps operation. 68517904deSPeter GrehanOnly 69517904deSPeter Grehan.Cm full-duplex 70517904deSPeter Grehanmode is supported at this speed. 71517904deSPeter Grehan.It Cm 2500baseT 72517904deSPeter GrehanSets 2500Mbps operation. 73517904deSPeter GrehanOnly 74517904deSPeter Grehan.Cm full-duplex 75517904deSPeter Grehanmode is supported at this speed. 76517904deSPeter Grehan.El 77517904deSPeter Grehan.Sh HARDWARE 78517904deSPeter GrehanThe 79517904deSPeter Grehan.Nm 80517904deSPeter Grehandriver supports the following models: 81517904deSPeter Grehan.Pp 82517904deSPeter Grehan.Bl -bullet -compact 83517904deSPeter Grehan.It 84*850f78d5SKevin BowlingI220-V 85*850f78d5SKevin Bowling.It 86*850f78d5SKevin BowlingI221-V 87*850f78d5SKevin Bowling.It 88517904deSPeter GrehanI225-LM 89517904deSPeter Grehan.It 90*850f78d5SKevin BowlingI225-LMvP(2) 91*850f78d5SKevin Bowling.It 92517904deSPeter GrehanI225-V 93517904deSPeter Grehan.It 94*850f78d5SKevin BowlingI225-IT, I225-IT(2) 95517904deSPeter Grehan.It 96*850f78d5SKevin BowlingI225-K, I225-K(2) 97*850f78d5SKevin Bowling.It 98*850f78d5SKevin BowlingI226-LM 99*850f78d5SKevin Bowling.It 100*850f78d5SKevin BowlingI226-LMvP 101*850f78d5SKevin Bowling.It 102*850f78d5SKevin BowlingI226-V 103*850f78d5SKevin Bowling.It 104*850f78d5SKevin BowlingI226-IT 105*850f78d5SKevin Bowling.It 106*850f78d5SKevin BowlingI226-K 107517904deSPeter Grehan.El 108517904deSPeter Grehan.Sh LOADER TUNABLES 109517904deSPeter GrehanTunables can be set at the 110517904deSPeter Grehan.Xr loader 8 111517904deSPeter Grehanprompt before booting the kernel or stored in 112517904deSPeter Grehan.Xr loader.conf 5 . 113517904deSPeter Grehan.Bl -tag -width indent 114517904deSPeter Grehan.It Va hw.igc.igc_disable_crc_stripping 115517904deSPeter GrehanDisable or enable hardware stripping of CRC field. 116517904deSPeter GrehanThis is mostly useful on BMC/IPMI shared interfaces where stripping the 117517904deSPeter GrehanCRC causes remote access over IPMI to fail. 118517904deSPeter GrehanDefault 0 (enabled). 119517904deSPeter Grehan.It Va hw.igc.sbp 120517904deSPeter GrehanShow bad packets when in promiscuous mode. 121517904deSPeter GrehanDefault is false. 122517904deSPeter Grehan.It Va hw.igc.eee_setting 123517904deSPeter GrehanDisable or enable Energy Efficient Ethernet. 124517904deSPeter GrehanDefault 1 (disabled). 125517904deSPeter Grehan.It Va hw.igc.max_interrupt_rate 126517904deSPeter GrehanMaximum device interrupts per second. 127517904deSPeter GrehanThe default is 8000. 128517904deSPeter Grehan.El 129517904deSPeter Grehan.Sh DIAGNOSTICS 130517904deSPeter Grehan.Bl -diag 131517904deSPeter Grehan.It "igc%d: Hardware Initialization Failed" 132517904deSPeter GrehanA fatal initialization error has occurred. 133517904deSPeter Grehan.It "igc%d: Unable to allocate bus resource: memory" 134517904deSPeter GrehanA fatal initialization error has occurred. 135517904deSPeter Grehan.It "igc%d: Invalid MAC address" 136517904deSPeter GrehanThe MAC address programmed into the EEPROM is either empty or a multicast/broadcast 137517904deSPeter Grehanaddress. 138517904deSPeter Grehan.El 139517904deSPeter Grehan.Sh SEE ALSO 140517904deSPeter Grehan.Xr altq 4 , 141517904deSPeter Grehan.Xr arp 4 , 142517904deSPeter Grehan.Xr iflib 4 , 143517904deSPeter Grehan.Xr netintro 4 , 144517904deSPeter Grehan.Xr ng_ether 4 , 145517904deSPeter Grehan.Xr vlan 4 , 146517904deSPeter Grehan.Xr ifconfig 8 147517904deSPeter Grehan.Sh HISTORY 148517904deSPeter GrehanThe 149517904deSPeter Grehan.Nm 150517904deSPeter Grehandevice driver first appeared in 151ba719a0fSTom Hukins.Fx 13.1 . 152517904deSPeter Grehan.Sh AUTHORS 153517904deSPeter Grehan.An -nosplit 154517904deSPeter GrehanThe 155517904deSPeter Grehan.Nm 156517904deSPeter Grehanwas originally written by 157517904deSPeter Grehan.An Intel Corporation 158517904deSPeter Grehanand converted to the 159517904deSPeter Grehan.Xr iflib 4 160517904deSPeter Grehanframework by 161517904deSPeter Grehan.An Netgate . 162