On Thu, Mar 03, 2011 at 09:11:13AM +0100, Manuel Guesdon wrote:
> On Thu, 3 Mar 2011 00:51:46 +0000 (UTC)
> Stuart Henderson <s...@spacehopper.org> wrote:
> 
> >| On 2011-02-28, Manuel Guesdon <ml+openbsd.m...@oxymium.net> wrote:
> >| > http://www.oxymium.net/tmp/core3-dmesg
> >| 
> >| "ipmi0 at mainbus0: version 2.0 interface KCS iobase 0xca2/2 spacing 1"
> >| 
> >| ipmi is disabled in GENERIC. have you tried without it?
> 
> Not on this server (I can't reboot it often) but on another one with same
> hardware: it doesn't seems to make difference (it still have Ierr). 
> 

This diff will help.</sarcasm>
I think we already mentioned it that you will always see Ierr. The
question is if the box is able to forward more then 150kpps.

-- 
:wq Claudio

Index: if_em.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_em.c,v
retrieving revision 1.249
diff -u -p -r1.249 if_em.c
--- if_em.c     13 Feb 2011 19:45:54 -0000      1.249
+++ if_em.c     3 Mar 2011 10:01:39 -0000
@@ -3194,14 +3194,7 @@ em_update_stats_counters(struct em_softc
        ifp->if_collisions = sc->stats.colc;
 
        /* Rx Errors */
-       ifp->if_ierrors =
-           sc->dropped_pkts +
-           sc->stats.rxerrc +
-           sc->stats.crcerrs +
-           sc->stats.algnerrc +
-           sc->stats.ruc + sc->stats.roc +
-           sc->stats.mpc + sc->stats.cexterr +
-           sc->rx_overruns;
+       ifp->if_ierrors = 0;
 
        /* Tx Errors */
        ifp->if_oerrors = sc->stats.ecol + sc->stats.latecol +

Reply via email to