freebsd-skq/sys/net
Gleb Smirnoff b64478a137 Switch lagg(4) statistics to counter(9).
The lagg(4) is often used to bond high speed links, so basic per-packet +=
on statistics cause cache misses and statistics loss.

Perfect solution would be to convert ifnet(9) to counters(9), but this
requires much more work, and unfortunately ABI change, so temporarily
patch lagg(4) manually.

We store counters in the softc, and once per second push their values
to legacy ifnet counters.

Sponsored by:	Nginx, Inc.
2013-04-15 13:00:42 +00:00
..
bpf_buffer.c Changes to resolve races in bpfread() and catchpacket() that, at worst, 2012-12-10 16:14:44 +00:00
bpf_buffer.h Call bpf_jitter() before acquiring BPF global lock due to malloc() being used inside bpf_jitter. 2012-05-21 22:19:19 +00:00
bpf_filter.c
bpf_jitter.c
bpf_jitter.h
bpf_zerocopy.c After the PHYS_TO_VM_PAGE() function was de-inlined, the main reason 2012-08-05 14:11:42 +00:00
bpf_zerocopy.h
bpf.c Functions m_getm2() and m_get2() have different order of arguments, 2013-03-12 13:42:47 +00:00
bpf.h Changes to resolve races in bpfread() and catchpacket() that, at worst, 2012-12-10 16:14:44 +00:00
bpfdesc.h Changes to resolve races in bpfread() and catchpacket() that, at worst, 2012-12-10 16:14:44 +00:00
bridgestp.c Use m_get/m_gethdr instead of compat macros. 2013-03-15 12:55:30 +00:00
bridgestp.h
ethernet.h
fddi.h
firewire.h
flowtable.c - Move jenkins.h to jenkins_hash.c 2012-09-04 12:07:33 +00:00
flowtable.h
ieee8023ad_lacp.c Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
ieee8023ad_lacp.h
if_arc.h
if_arcsubr.c Remove __FreeBSD_version ifdefs. 2013-03-22 20:44:16 +00:00
if_arp.h
if_atm.h
if_atmsubr.c Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
if_bridge.c Use IP6STAT_INC/IP6STAT_DEC macros to update ip6 stats. 2013-04-09 07:11:22 +00:00
if_bridgevar.h
if_clone.c Fix VIMAGE build. 2012-10-17 21:19:27 +00:00
if_clone.h Make the "struct if_clone" opaque to users of the cloning API. Users 2012-10-16 13:37:54 +00:00
if_dead.c
if_debug.c
if_disc.c Make the "struct if_clone" opaque to users of the cloning API. Users 2012-10-16 13:37:54 +00:00
if_dl.h
if_edsc.c Make the "struct if_clone" opaque to users of the cloning API. Users 2012-10-16 13:37:54 +00:00
if_ef.c Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
if_enc.c Make the "struct if_clone" opaque to users of the cloning API. Users 2012-10-16 13:37:54 +00:00
if_enc.h
if_epair.c Utilize new macro to initialize if_baudrate(). 2012-10-18 09:57:56 +00:00
if_ethersubr.c Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
if_faith.c Make the "struct if_clone" opaque to users of the cloning API. Users 2012-10-16 13:37:54 +00:00
if_fddisubr.c Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
if_fwsubr.c Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
if_gif.c Make the "struct if_clone" opaque to users of the cloning API. Users 2012-10-16 13:37:54 +00:00
if_gif.h
if_gre.c Use m_get/m_gethdr instead of compat macros. 2013-03-15 12:55:30 +00:00
if_gre.h
if_iso88025subr.c Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
if_lagg.c Switch lagg(4) statistics to counter(9). 2013-04-15 13:00:42 +00:00
if_lagg.h Switch lagg(4) statistics to counter(9). 2013-04-15 13:00:42 +00:00
if_llatbl.c Change certain heavily used network related mutexes and rwlocks to 2013-04-09 21:02:20 +00:00
if_llatbl.h Fix build. 2013-04-10 08:09:25 +00:00
if_llc.h
if_loop.c Make the "struct if_clone" opaque to users of the cloning API. Users 2012-10-16 13:37:54 +00:00
if_media.c
if_media.h
if_mib.c
if_mib.h
if_pflog.h o Create directory sys/netpfil, where all packet filters should 2012-09-14 11:51:49 +00:00
if_pfsync.h Finish the r244185. This fixes ever growing counter of pfsync bad 2013-02-15 09:03:56 +00:00
if_sppp.h
if_spppfr.c Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
if_spppsubr.c Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
if_stf.c Add an ability to set net.link.stf.permit_rfc1918 from the loader. 2012-12-27 21:26:08 +00:00
if_stf.h
if_tap.c Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
if_tap.h
if_tapvar.h Revert part of an earlier patch attempt that snuck in with r240938. 2012-09-25 23:41:45 +00:00
if_tun.c Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
if_tun.h
if_types.h
if_var.h Fix build. 2013-04-10 08:09:25 +00:00
if_vlan_var.h
if_vlan.c Remove unused and unnecessary CSUM_IP_FRAGS checksumming capability. 2012-11-27 19:31:49 +00:00
if.c Change certain heavily used network related mutexes and rwlocks to 2013-04-09 21:02:20 +00:00
if.h provide helper if_initbaudrate() to set if_baudrate_pf and if_baudrate_pf. 2012-10-17 19:24:13 +00:00
iso88025.h
netisr_internal.h
netisr.c
netisr.h
netmap_user.h Cast through void * to silence compiler warning 2012-10-03 21:41:20 +00:00
netmap.h leftover from r245579... flags for semi transparent mode and direct 2013-01-23 03:49:48 +00:00
pf_mtag.h o Create directory sys/netpfil, where all packet filters should 2012-09-14 11:51:49 +00:00
pfil.c Fix style and comments. 2013-03-19 05:51:47 +00:00
pfil.h Fix style and comments. 2013-03-19 05:51:47 +00:00
pfkeyv2.h
pfvar.h Utilize Jenkins hash with random seed for source nodes storage. 2012-09-20 06:52:05 +00:00
ppp_defs.h
radix_mpath.c
radix_mpath.h
radix.c
radix.h
raw_cb.c
raw_cb.h
raw_usrreq.c
route.c Fix long-standing issue with interface routes being unprotected: 2013-03-08 20:33:50 +00:00
route.h Fix long-standing issue with interface routes being unprotected: 2013-03-08 20:33:50 +00:00
rtsock.c - Use m_getcl() instead of hand allocating. 2013-03-15 12:52:59 +00:00
slcompress.c
slcompress.h
vnet.c
vnet.h
zlib.c Juggle some internal symbols from our antique zlib (that originally came 2013-01-06 14:59:59 +00:00
zlib.h Juggle some internal symbols from our antique zlib (that originally came 2013-01-06 14:59:59 +00:00
zutil.h