[Bug 265714] igc(4) drops link under high traffic

[email protected] Mon, 03 Aug 2026 16:41:35 +0000
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265714

--- Comment #57 from Tomasz "CeDeROM" CEDRO <[email protected]> ---
Thank you Kevin! :-)

I am using 14.4-RELEASE-p8 and releng/14.4 branch. Tried to cherry-pick cha=
nges
here with this below with no success.

# git checkout releng/14.4

# git cherry-pick cfad68c5c6b9c1a203b3c3777e252048df92281d
6560ee97e8f51d5147521319dfd9d1e7afe74d34
bbf0372feeb321a5bfeff7b1e79576ab01240441
2290ea7f4311e899019fe77bf7c7775033af6b24
e35533457530bb9db655e6137c2eea790e18b97b
01e7acd38d411c78caba1c4078bb3683f586e1c2
e389a05164ccb1dd41ee8d7f09203b475322dd72
297394e995e5ea1ea9bc85e609ca116255d51e97
9d30fd353dd3eacb095ce98cb9c91ec015b9af64
cecb0f45cb83349c60514da38fddce83ad042468
4a28d390f5fbae2483e88805559881b04ccf9a80
709426551c6a3607fb5a33f5b8dbb87cfa9c8125
a108ee9138a698f212d6d6832d54e88ce6786617
8f779f159e2198c85b4fcb8685989879a9330104=20

# git reflog
5c61838f749d (HEAD -> releng/14.4) HEAD@{0}: cherry-pick: igc: Add VLAN
hardware filtering
2dd0fed39d00 HEAD@{1}: cherry-pick: igc: Correct hardware error statistics
b72fe84fc51b HEAD@{2}: cherry-pick: igc: Work around I225 v1 minimum IPG
erratum
4b1e7e467f16 HEAD@{3}: cherry-pick: igc: Disable PCIe L1.2 on I225
34966896f03f HEAD@{4}: cherry-pick: igc: Apply ASPM L1.2 workaround to all =
I226
devices
450fdae4296e HEAD@{5}: cherry-pick: igc: Disable ASPM L1.2 on I226 to preve=
nt
RX stalls
9dde631ff416 HEAD@{6}: cherry-pick: igc(4): document adaptive interrupt
moderation
8b8240dc63a7 HEAD@{7}: cherry-pick: igc: count TSO wire segments in the AIM
counters
e48280251460 HEAD@{8}: cherry-pick: igc: use packet-size AIM
b0c5da4795be HEAD@{9}: cherry-pick: igc: synchronize interrupt moderation s=
tate
e70f6128669c HEAD@{10}: cherry-pick: igc: make AIM counter sampling coherent
6390fc3b7865 HEAD@{11}: cherry-pick: igc: fix RX accounting for
multi-descriptor packets
f435040fb97e HEAD@{12}: cherry-pick: igc.4: Describe better
9972639bcf93 HEAD@{13}: cherry-pick: igc: use newly exposed RSS hash key API
rather than ad-hoc hashing
3de2d29b088e (tag: release/14.4.0-p8, origin/releng/14.4) HEAD@{14}: checko=
ut:
moving from d2a5b5a86a92e86f77737273ab4b2e99da63c21d to releng/14.4

# make buildkernel
(..)
cc -target x86_64-unknown-freebsd14.4
--sysroot=3D/usr/obj/usr/src/amd64.amd64/tmp
-B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -c -O2 -pipe  -fno-strict-aliasi=
ng
-march=3Darrowlake-s -g -nostdinc  -I. -I/usr/src/sys
-I/usr/src/sys/contrib/ck/include -I/usr/src/sys/contrib/libfdt -D_KERNEL
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common=20=20=20
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD  -MF.depend.if_igc=
.o
-MTif_igc.o -ffile-prefix-map=3D/usr/src/sys=3D/usr/src/sys
-ffile-prefix-map=3D/usr/obj/usr/src/amd64.amd64/sys/GENERIC=3D/usr/obj/usr=
/src/amd64.amd64/sys/GENERIC
-ffile-prefix-map=3D/usr/obj/usr/src/amd64.amd64/tmp=3D/sysroot
-fdebug-prefix-map=3D./machine=3D/usr/src/sys/amd64/include
-fdebug-prefix-map=3D./x86=3D/usr/src/sys/x86/include
-fdebug-prefix-map=3D./i386=3D/usr/src/sys/i386/include -mcmodel=3Dkernel
-mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tabl=
es
-ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=3D__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=3Dtautological-co=
mpare
-Wno-error=3Dempty-body -Wno-error=3Dparentheses-equality
-Wno-error=3Dunused-function -Wno-error=3Dpointer-sign
-Wno-error=3Dshift-negative-value -Wno-address-of-packed-member
-Wno-format-zero-length   -mno-aes -mno-avx  -std=3Dgnu99 -Werror
/usr/src/sys/dev/igc/if_igc.c
/usr/src/sys/dev/igc/if_igc.c:1573:10: error: use of undeclared identifier
'PCIM_L1PM_CTL1_ASPM_L1_2'
 1573 |                 mask =3D PCIM_L1PM_CTL1_ASPM_L1_2 |
      |                        ^
/usr/src/sys/dev/igc/if_igc.c:1574:7: error: use of undeclared identifier
'PCIM_L1PM_CTL1_PCIPM_L1_2'
 1574 |                     PCIM_L1PM_CTL1_PCIPM_L1_2;
      |                     ^
/usr/src/sys/dev/igc/if_igc.c:1576:10: error: use of undeclared identifier
'PCIM_L1PM_CTL1_ASPM_L1_2'
 1576 |                 mask =3D PCIM_L1PM_CTL1_ASPM_L1_2;
      |                        ^
/usr/src/sys/dev/igc/if_igc.c:1583:36: error: use of undeclared identifier
'PCIR_L1PM_CTL1'
 1583 |         ctl1 =3D pci_read_config(dev, cap + PCIR_L1PM_CTL1, 4);
      |                                           ^
/usr/src/sys/dev/igc/if_igc.c:1585:30: error: use of undeclared identifier
'PCIR_L1PM_CTL1'
 1585 |         pci_write_config(dev, cap + PCIR_L1PM_CTL1, ctl1, 4);
      |                                     ^
5 errors generated.
*** Error code 1

Stop.
make[2]: stopped making "all" in /usr/obj/usr/src/amd64.amd64/sys/GENERIC
       67.92 real        62.26 user         5.65 sys
*** Error code 1


Looks like something else changed too in the meantime :-)

Will try to backport them into stable/14 in a moment maybe that will work :=
-)

--=20
You are receiving this mail because:
You are the assignee for the bug.=