diff options
| author | Sean Bruno <sbruno@FreeBSD.org> | 2015-05-22 17:01:43 +0000 |
|---|---|---|
| committer | Sean Bruno <sbruno@FreeBSD.org> | 2015-05-22 17:01:43 +0000 |
| commit | 316f4c880a15660086e5c9e7ee31f8b717e855f1 (patch) | |
| tree | a3f404d9baf9db0283ac505b78995351e2879f68 /sys | |
| parent | dce663816ac4a4331efe5456a29183eaedfa965d (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/dev/e1000/if_em.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/e1000/if_em.c b/sys/dev/e1000/if_em.c index 252571b611c22..ab39c43557821 100644 --- a/sys/dev/e1000/if_em.c +++ b/sys/dev/e1000/if_em.c @@ -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); |
