Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 May 2015 19:25:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-net@FreeBSD.org
Subject:   [Bug 199716] em doesn't increment adapter->rx_overruns in msix mode
Message-ID:  <bug-199716-2472-V7nn1VmI7g@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-199716-2472@https.bugs.freebsd.org/bugzilla/>
References:  <bug-199716-2472@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199716

--- Comment #2 from Sean Bruno <sbruno@FreeBSD.org> ---
Index: if_em.c
===================================================================
--- if_em.c    (revision 282317)
+++ if_em.c    (working copy)
@@ -1609,6 +1609,9 @@
     ++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);


Should DTRT

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199716-2472-V7nn1VmI7g>