Date: Sun, 2 Aug 2009 19:43:32 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/contrib/pf/net pf.c src/sys/dev/cxgb/ulp/tom cxgb_cpl_io.c src/sys/net if_bridge.c src/sys/netinet icmp6.h icmp_var.h in_gif.c ip_divert.c ip_icmp.c ip_input.c ip_var.h tcp_input.c tcp_var.h udp_usrreq.c udp_var.h src/sys/netinet6 ... Message-ID: <200908021944.n72JiLPC076330@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2009-08-02 19:43:32 UTC
FreeBSD src repository
Modified files:
sys/contrib/pf/net pf.c
sys/dev/cxgb/ulp/tom cxgb_cpl_io.c
sys/net if_bridge.c
sys/netinet icmp6.h icmp_var.h in_gif.c ip_divert.c
ip_icmp.c ip_input.c ip_var.h tcp_input.c
tcp_var.h udp_usrreq.c udp_var.h
sys/netinet6 icmp6.c
Log:
SVN rev 196039 on 2009-08-02 19:43:32Z by rwatson
Many network stack subsystems use a single global data structure to hold
all pertinent statatistics for the subsystem. These structures are
sometimes "borrowed" by kernel modules that require a place to store
statistics for similar events.
Add KPI accessor functions for statistics structures referenced by kernel
modules so that they no longer encode certain specifics of how the data
structures are named and stored. This change is intended to make it
easier to move to per-CPU network stats following 8.0-RELEASE.
The following modules are affected by this change:
if_bridge
if_cxgb
if_gif
ip_mroute
ipdivert
pf
In practice, most of these statistics consumers should, in fact, maintain
their own statistics data structures rather than borrowing structures
from the base network stack. However, that change is too agressive for
this point in the release cycle.
Reviewed by: bz
Approved by: re (kib)
Revision Changes Path
1.69 +14 -14 src/sys/contrib/pf/net/pf.c
1.37 +1 -1 src/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c
1.131 +9 -9 src/sys/net/if_bridge.c
1.27 +11 -0 src/sys/netinet/icmp6.h
1.31 +11 -0 src/sys/netinet/icmp_var.h
1.50 +3 -3 src/sys/netinet/in_gif.c
1.156 +5 -5 src/sys/netinet/ip_divert.c
1.138 +14 -0 src/sys/netinet/ip_icmp.c
1.375 +21 -0 src/sys/netinet/ip_input.c
1.115 +14 -0 src/sys/netinet/ip_var.h
1.411 +14 -0 src/sys/netinet/tcp_input.c
1.182 +11 -0 src/sys/netinet/tcp_var.h
1.262 +14 -0 src/sys/netinet/udp_usrreq.c
1.42 +11 -0 src/sys/netinet/udp_var.h
1.117 +14 -0 src/sys/netinet6/icmp6.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908021944.n72JiLPC076330>
