> Date: Tue, 31 Dec 2013 01:28:04 -0500 > From: Brad Smith <[email protected]> > > Don't count RX overruns and missed packets as inputs errors. They're > expected to increment when using MCLGETI. > > OK?
These may be "expected", but they're still packets that were not received. And it is useful to know about these, for example when debugging TCP performance issues. > Index: if_em.c > =================================================================== > RCS file: /cvs/src/sys/dev/pci/if_em.c,v > retrieving revision 1.275 > diff -u -p -u -p -r1.275 if_em.c > --- if_em.c 28 Dec 2013 03:34:54 -0000 1.275 > +++ if_em.c 31 Dec 2013 06:03:55 -0000 > @@ -3246,9 +3248,9 @@ em_update_stats_counters(struct em_softc > sc->stats.rxerrc + > sc->stats.crcerrs + > sc->stats.algnerrc + > - sc->stats.ruc + sc->stats.roc + > - sc->stats.mpc + sc->stats.cexterr + > - sc->rx_overruns; > + sc->stats.ruc + > + sc->stats.roc + > + sc->stats.cexterr; > > /* Tx Errors */ > ifp->if_oerrors = sc->stats.ecol + sc->stats.latecol + > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > >
