cvs commit: src/sys/dev/em if_em.c if_em.h

Gleb Smirnoff glebius at FreeBSD.org
Wed Nov 9 15:23:55 GMT 2005


glebius     2005-11-09 15:23:54 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/em           if_em.c if_em.h 
  Log:
  - Introduce two more stat counters, counting number of RX
    overruns and number of watchdog timeouts.
  - Do not log(9) RX overrun events, since this pessimizes
    things under load [1].
  - Do not increase if->if_oerrors in em_watchdog(), since
    this leads to counter slipping back, when if->if_oerrors
    is recalculated in em_update_stats_counters(). Instead
    increase watchdog counter in em_watchdog() and take it
    into account in em_update_stats_counters().
  
  Submitted by:   ade [1]
  
  Revision  Changes    Path
  1.84      +7 -3      src/sys/dev/em/if_em.c
  1.37      +2 -1      src/sys/dev/em/if_em.h


More information about the cvs-src mailing list