DragonFly BSD
DragonFly commits List (threaded) for 2013-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: if: Add compat mode for ifnet stats so that 3rd party apps can work


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 17 Feb 2013 00:01:28 -0800 (PST)

commit 6517ec3f8546893c4d6fa188ff97f436b081d0f9
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Sun Feb 17 16:00:36 2013 +0800

    if: Add compat mode for ifnet stats so that 3rd party apps can work
    
    If ifnet stats compat mode is enabled, the per-CPU ifnet stats will
    be collected into ifnet old stats location in the if slow timer.
    
    Sysctl node net.link.stats_compat is used to control whether the
    ifnet stats compat mode should be enabled or not; it is _not_ enabled
    by default.

Summary of changes:
 sys/net/if.c | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6517ec3f8546893c4d6fa188ff97f436b081d0f9


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]