Date: Fri, 22 May 2015 17:01:44 +0000 (UTC) From: Sean Bruno <sbruno@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r283290 - head/sys/dev/e1000 Message-ID: <201505221701.t4MH1itG037106@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sbruno Date: Fri May 22 17:01:43 2015 New Revision: 283290 URL: https://svnweb.freebsd.org/changeset/base/283290 Log: Bump rx_overruns when indicated by the ICR mask. PR: 199716 MFC after: 3 days Sponsored by: Limelight Networks Modified: head/sys/dev/e1000/if_em.c Modified: head/sys/dev/e1000/if_em.c ============================================================================== --- head/sys/dev/e1000/if_em.c Fri May 22 16:38:55 2015 (r283289) +++ head/sys/dev/e1000/if_em.c Fri May 22 17:01:43 2015 (r283290) @@ -1609,6 +1609,9 @@ em_msix_link(void *arg) ++adapter->link_irq; reg_icr = E1000_READ_REG(&adapter->hw, E1000_ICR); + if (reg_icr & E1000_ICR_RXO) + adapter->rx_overruns++; + if (reg_icr & (E1000_ICR_RXSEQ | E1000_ICR_LSC)) { adapter->hw.mac.get_link_status = 1; em_handle_link(adapter, 0);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505221701.t4MH1itG037106>