Bump rx_overruns when indicated by the ICR mask.

PR:		199716
MFC after:	3 days
Sponsored by:	Limelight Networks
This commit is contained in:
Sean Bruno 2015-05-22 17:01:43 +00:00
parent dce663816a
commit 316f4c880a

View File

@ -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);