[Bug 199716] em doesn't increment adapter->rx_overruns in msix mode

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Apr 26 18:34:32 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199716

            Bug ID: 199716
           Summary: em doesn't increment adapter->rx_overruns in msix mode
           Product: Base System
           Version: 10.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: david.keller at litchis.fr
                CC: erj at freebsd.org, jfv at FreeBSD.org

When using msix interrupt model (e.g. 82574L chip), all interrupts excepted
E1000_ICR_RXQ0, E1000_ICR_RXQ1, E1000_ICR_TXQ0, E1000_ICR_TXQ1 are handled by
the em_msix_link() function.

Currently, this function only checks for E1000_ICR_LSC:
https://svnweb.freebsd.org/base/releng/10.1/sys/dev/e1000/if_em.c?view=markup#l1615

Hence when an E1000_ICR_RXO interrupt occurs, it's cleared (because of ICR
reading), but adapter->rx_overruns is *not* incremented.

This may hide a chip hang (bug #199174).

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


More information about the freebsd-bugs mailing list