svn commit: r283504 - stable/10/sys/dev/e1000

Sean Bruno sbruno at FreeBSD.org
Mon May 25 00:30:27 UTC 2015


Author: sbruno
Date: Mon May 25 00:30:26 2015
New Revision: 283504
URL: https://svnweb.freebsd.org/changeset/base/283504

Log:
  MFC r283290
  
  Bump rx_overruns when indicated by the ICR mask.
  
  PR:		199716
  Sponsored by:	Limelight Networks

Modified:
  stable/10/sys/dev/e1000/if_em.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/e1000/if_em.c
==============================================================================
--- stable/10/sys/dev/e1000/if_em.c	Sun May 24 23:53:10 2015	(r283503)
+++ stable/10/sys/dev/e1000/if_em.c	Mon May 25 00:30:26 2015	(r283504)
@@ -1620,6 +1620,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);


More information about the svn-src-all mailing list