Bug 236486

Summary: [igb] txcsum produces broken checksum for i350
Product: Base System Reporter: Eugene Grosbein <eugen>
Component: kernAssignee: freebsd-net (Nobody) <net>
Status: Closed Unable to Reproduce    
Severity: Affects Some People CC: kbowling
Priority: --- Keywords: IntelNetworking
Version: 11.2-STABLE   
Hardware: amd64   
OS: Any   

Description Eugene Grosbein freebsd_committer freebsd_triage 2019-03-12 13:48:32 UTC
Hi!

The server Dell PowerEdge R640 (baseboard 0PHYDR) with BIOS Version: 1.6.13 02/13/2019 [Hetzner 1.0.2] has Intel 1GB i350 network card:

igb0@pci0:1:0:0:        class=0x020000 card=0x1f9a1028 chip=0x15218086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'I350 Gigabit Network Connection'
    class      = network
    subclass   = ethernet

It runs FreeBSD 11.2-STABLE/amd64 r344922 with GENERIC kernel config plus following options only:

options KDB
options KDB_UNATTENDED
options KDB_TRACE
options DDB
options GDB

It also runs ipfw nat that is not compatible with TSO4 so this option is disabled for igb0. Still, running with tso4 disabled and txcsum enabled, it suffers from stalled TCP connections due to some TCP segments being sent with broken checksum occasionally.

ifconfig igb0 -txcsum solves the problem.
Comment 1 Kevin Bowling freebsd_committer freebsd_triage 2021-04-21 03:11:10 UTC
(In reply to Eugene Grosbein from comment #0)
Are you able to retest with 12.2 or 13.0?
Comment 2 Eugene Grosbein freebsd_committer freebsd_triage 2021-06-15 02:45:20 UTC
(In reply to Kevin Bowling from comment #1)

Unfortunately, no as this server is in production and it's owner will not justify an upgrade while it works fine with work-around.
Comment 3 Kevin Bowling freebsd_committer freebsd_triage 2021-07-30 16:18:17 UTC
I suspect this is fixed in 12+ by code inspection; I've looked intently at the txrx in these newer versions of the driver and don't see any issues.  Please reopen if you see otherwise in the future.