git: if: Per-cpu ifnet/ifaddr statistics, step 2/3

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Thu Feb 14 22:39:15 PST 2013


commit 572fa6a2e65a8ad46b9e88c87f26bda3b587ba7f
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Fri Feb 15 14:06:32 2013 +0800

    if: Per-cpu ifnet/ifaddr statistics, step 2/3
    
    Make ifaddr stats per-cpu.  The per-cpu stats are embedded into
    ifaddr_container, which already carries per-cpu data for ifaddr.

Summary of changes:
 sys/net/if_var.h          |  7 ++++++-
 usr.bin/netstat/if.c      | 37 ++++++++++++++++++++++++++++++++-----
 usr.bin/netstat/main.c    | 22 +++++++++++-----------
 usr.bin/netstat/netstat.h |  2 +-
 4 files changed, 50 insertions(+), 18 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/572fa6a2e65a8ad46b9e88c87f26bda3b587ba7f


-- 
DragonFly BSD source repository


More information about the Commits mailing list