git: em/emx/igb/ix: Increase opackets stats in if_start method

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sun Apr 26 20:24:32 PDT 2015


commit 608dda762b4fff99bd8e99e1393ec28dcad1cff8
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Fri Apr 24 20:30:36 2015 +0800

    em/emx/igb/ix: Increase opackets stats in if_start method
    
    Since these drivers TX interrupt are aggressively aggregated, increasing
    opackets at TX interrupt time will make the opackets statistics vastly
    inaccurate.
    
    Noticed-by: dillon@

Summary of changes:
 sys/dev/netif/em/if_em.c   | 10 ++++++++--
 sys/dev/netif/emx/if_emx.c | 12 ++++++++----
 sys/dev/netif/igb/if_igb.c | 10 ++++++++--
 sys/dev/netif/ix/if_ix.c   | 10 ++++++++--
 4 files changed, 32 insertions(+), 10 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/608dda762b4fff99bd8e99e1393ec28dcad1cff8


-- 
DragonFly BSD source repository



More information about the Commits mailing list