[Bug 282309] igb(4) shows high error count when attached to VF

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 24 Oct 2024 20:45:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282309

            Bug ID: 282309
           Summary: igb(4) shows high error count when attached to VF
           Product: Base System
           Version: 15.0-CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: jhibbits@FreeBSD.org

On Wind River Linux LTS19 and LTS22, passing through a VF from the host, igb
shows a lot of Ierrs and Oerrs, with very few packets going through.  This
happens on FreeBSD 12.4 and FreeBSD 15-CURRENT.  FreeBSD 11 appears to work
fine, per the tester.

igb0: <Intel(R) PRO/1000 82576 Virtual Function> mem
0xfebc0000-0xfebc3fff,0xfebc4000-0xfebc7fff at device 2.0 on pci0


root@freebsd:~ # netstat -i igb0
Name     Mtu Network           Address                             Ipkts       
  Ierrs          Idrop    Opkts          Oerrs           Coll
igb0    1500 <Link#1>          xx:xx:xx:xx:xx:xx                      15 
8047606890496              0       18          50814              0


Reportedly, on the same setup, some Linux distro works fine, no errors.  The
host also sees no errors in any scenario.

Sysctl register dump:

dev.igb.0.reg_dump: General Registers
        CTRL     00000000
        STATUS   002c4784
        CTRL_EXT         00000000

Interrupt Registers
        ICR      00000000

RX Registers
        RCTL     00000000
        RDLEN    00004000
        RDH      00000000
        RDT      00000080
        RXDCTL   02040808
        RDBAL    02719000
        RDBAH    00000000

TX Registers
        TCTL     00000000
        TDBAL    02707000
        TDBAH    00000000
        TDLEN    00004000
        TDH      00000000
        TDT      00000000
        TXDCTL   0241011f
        TDFH     00000000
        TDFT     00000000
        TDFHS    00000000
        TDFPC    00000000

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