NetBSD/sys/netinet
ozaki-r dd8638eea5 Move bpf_mtap and if_ipackets++ on Rx of each driver to percpuq if_input
The benefits of the change are:
- We can reduce codes
- We can provide the same behavior between drivers
  - Where/When if_ipackets is counted up
  - Note that some drivers still update packet statistics in their own
    way (periodical update)
- Moved bpf_mtap run in softint
  - This makes it easy to MP-ify bpf

Proposed on tech-kern and tech-net
2016-12-15 09:28:02 +00:00
..
accept_filter.h
accf_data.c KNF. Remove extra spaces. No functional change. 2016-07-07 06:55:38 +00:00
accf_http.c include "ioconf.h" to get the 'void <driver>attach(int count);' prototype. 2015-08-20 14:40:16 +00:00
cpu_in_cksum.c
dccp_cc_sw.c Sweep unnecessary route.h inclusions 2016-04-26 08:44:44 +00:00
dccp_cc_sw.h
dccp_tcplike.c Sweep unnecessary route.h inclusions 2016-04-26 08:44:44 +00:00
dccp_tcplike.h KNF. Remove extra spaces. No functional change. 2016-07-07 06:55:38 +00:00
dccp_tfrc_lookup.h
dccp_tfrc.c KNF. Remove extra spaces. No functional change. 2016-07-07 06:55:38 +00:00
dccp_tfrc.h KNF. Remove extra spaces. No functional change. 2016-07-07 06:55:38 +00:00
dccp_usrreq.c Remove unnecessary inclusions of nd6.h 2016-12-13 08:29:03 +00:00
dccp_var.h KNF. Remove extra spaces. No functional change. 2016-07-07 06:55:38 +00:00
dccp.h
files.ipfilter
files.netinet Add core networking support for SCTP. 2015-10-13 21:28:34 +00:00
icmp6.h Remove unnecessary forward struct declarations 2016-12-11 07:34:14 +00:00
icmp_private.h
icmp_var.h
if_arp.c Make the routing table and rtcaches MP-safe 2016-12-12 03:55:57 +00:00
if_atm.c Make the routing table and rtcaches MP-safe 2016-12-12 03:55:57 +00:00
if_atm.h Constify rtentry of if_output 2016-04-28 00:16:56 +00:00
if_ether.h
if_inarp.h Mark arprequest static and introduce arpannounce so that gratuitous 2016-10-11 12:32:30 +00:00
igmp_var.h
igmp.c Apply pserialize and psref to struct ifaddr and its variants 2016-08-01 03:15:30 +00:00
igmp.h
in4_cksum.c
in_cksum.c
in_gif.c fix race of gif_softc->gif_ro when we send multiple flows over gif on NET_MPSAFE enabled kernel. 2016-12-14 11:19:15 +00:00
in_gif.h fix: gif(4) receive side race 2016-07-04 04:22:47 +00:00
in_ifattach.h
in_offload.c Stop using rt_gwroute on packet sending paths 2016-04-26 09:30:01 +00:00
in_offload.h
in_pcb_hdr.h
in_pcb.c Make the routing table and rtcaches MP-safe 2016-12-12 03:55:57 +00:00
in_pcb.h Add rtcache_unref to release points of rtentry stemming from rtcache 2016-12-08 05:16:33 +00:00
in_print.c
in_proto.c Sweep unnecessary route.h inclusions 2016-04-26 08:44:44 +00:00
in_proto.h Revert previous: ran cvs commit when I meant cvs diff. Sorry! 2016-01-21 15:41:29 +00:00
in_selsrc.c Switch the address list of intefaces to pslist(9) 2016-07-07 09:32:01 +00:00
in_selsrc.h Hook up lltable/llentry with the kernel (and rumpkernel) 2015-08-31 08:02:44 +00:00
in_systm.h
in_var.h add API to manipulate ifa->ia_hash and ia_hash_pslist_entry, and fix ia_hash_pslist_entry race by using them. 2016-12-06 07:01:47 +00:00
in.c Make the routing table and rtcaches MP-safe 2016-12-12 03:55:57 +00:00
in.h Apply pserialize and psref to struct ifaddr and its variants 2016-08-01 03:15:30 +00:00
ip6.h
ip_carp.c Make the routing table and rtcaches MP-safe 2016-12-12 03:55:57 +00:00
ip_carp.h Constify rtentry of if_output 2016-04-28 00:16:56 +00:00
ip_ecn.c sprinkle _KERNEL_OPT 2015-08-24 22:21:26 +00:00
ip_ecn.h
ip_encap.c make gif(4) and ip_encap MP-ify 2016-07-04 04:40:13 +00:00
ip_encap.h make encap_lock_{enter,exit} interruptable. 2016-07-04 04:35:09 +00:00
ip_etherip.c Move bpf_mtap and if_ipackets++ on Rx of each driver to percpuq if_input 2016-12-15 09:28:02 +00:00
ip_etherip.h
ip_flow.c Add rtcache_unref to release points of rtentry stemming from rtcache 2016-12-08 05:16:33 +00:00
ip_icmp.c Make the routing table and rtcaches MP-safe 2016-12-12 03:55:57 +00:00
ip_icmp.h
ip_id.c
ip_input.c Make the routing table and rtcaches MP-safe 2016-12-12 03:55:57 +00:00
ip_mroute.c Apply pserialize and psref to struct ifaddr and its variants 2016-08-01 03:15:30 +00:00
ip_mroute.h
ip_output.c Make the routing table and rtcaches MP-safe 2016-12-12 03:55:57 +00:00
ip_private.h
ip_reass.c Sweep unnecessary route.h inclusions 2016-04-26 08:44:44 +00:00
ip_var.h Add rtcache_unref to release points of rtentry stemming from rtcache 2016-12-08 05:16:33 +00:00
ip.h
Makefile Add core networking support for SCTP. 2015-10-13 21:28:34 +00:00
pim_var.h
pim.h
portalgo.c Sweep unnecessary route.h inclusions 2016-04-26 08:44:44 +00:00
portalgo.h
raw_ip.c Now that we disallow sending or receiving from invalid addresses, 2016-09-29 12:19:47 +00:00
sctp_asconf.c Restore nd6.h inclusion to resolve implicit dependency 2016-12-15 03:54:15 +00:00
sctp_asconf.h Add core networking support for SCTP. 2015-10-13 21:28:34 +00:00
sctp_constants.h Add core networking support for SCTP. 2015-10-13 21:28:34 +00:00
sctp_crc32.c sprinkle const on sctp_crc_c[] 2016-08-12 19:08:54 +00:00
sctp_crc32.h Add core networking support for SCTP. 2015-10-13 21:28:34 +00:00
sctp_hashdriver.c Add core networking support for SCTP. 2015-10-13 21:28:34 +00:00
sctp_hashdriver.h Add core networking support for SCTP. 2015-10-13 21:28:34 +00:00
sctp_header.h Add core networking support for SCTP. 2015-10-13 21:28:34 +00:00
sctp_indata.c Fix build when IPSEC enabled. 2016-04-25 21:21:02 +00:00
sctp_indata.h Add core networking support for SCTP. 2015-10-13 21:28:34 +00:00
sctp_input.c Avoid storing a pointer of an interface in a mbuf 2016-06-10 13:31:43 +00:00
sctp_input.h Add core networking support for SCTP. 2015-10-13 21:28:34 +00:00
sctp_output.c Add rtcache_unref to release points of rtentry stemming from rtcache 2016-12-08 05:16:33 +00:00
sctp_output.h Add core networking support for SCTP. 2015-10-13 21:28:34 +00:00
sctp_pcb.c Add rtcache_unref to release points of rtentry stemming from rtcache 2016-12-08 05:16:33 +00:00
sctp_pcb.h Add core networking support for SCTP. 2015-10-13 21:28:34 +00:00
sctp_peeloff.c Fix build when IPSEC enabled. 2016-04-25 21:21:02 +00:00
sctp_peeloff.h Add core networking support for SCTP. 2015-10-13 21:28:34 +00:00
sctp_structs.h Fix build when IPSEC enabled. 2016-04-25 21:21:02 +00:00
sctp_timer.c Add rtcache_unref to release points of rtentry stemming from rtcache 2016-12-08 05:16:33 +00:00
sctp_timer.h Add core networking support for SCTP. 2015-10-13 21:28:34 +00:00
sctp_uio.h Add core networking support for SCTP. 2015-10-13 21:28:34 +00:00
sctp_usrreq.c Switch the address list of intefaces to pslist(9) 2016-07-07 09:32:01 +00:00
sctp_var.h Add core networking support for SCTP. 2015-10-13 21:28:34 +00:00
sctp.h Add core networking support for SCTP. 2015-10-13 21:28:34 +00:00
sctputil.c Switch the address list of intefaces to pslist(9) 2016-07-07 09:32:01 +00:00
sctputil.h Use const for arguments to sctp_is_same_scope(). 2016-05-22 23:04:27 +00:00
tcp_congctl.c Remove unnecessary inclusions of nd6.h 2016-12-13 08:29:03 +00:00
tcp_congctl.h
tcp_debug.c Sweep unnecessary route.h inclusions 2016-04-26 08:44:44 +00:00
tcp_debug.h
tcp_fsm.h
tcp_input.c Add rtcache_unref to release points of rtentry stemming from rtcache 2016-12-08 05:16:33 +00:00
tcp_output.c Add rtcache_unref to release points of rtentry stemming from rtcache 2016-12-08 05:16:33 +00:00
tcp_private.h
tcp_sack.c Remove unnecessary inclusions of nd6.h 2016-12-13 08:29:03 +00:00
tcp_seq.h
tcp_subr.c Add rtcache_unref to release points of rtentry stemming from rtcache 2016-12-08 05:16:33 +00:00
tcp_timer.c fix: unlock in reverse order 2016-07-25 00:10:38 +00:00
tcp_timer.h
tcp_usrreq.c fix: "ifconfig destory" can stalls when "ifconfig" is done parallel. 2016-11-18 06:50:04 +00:00
tcp_var.h
tcp_vtw.c Remove unnecessary inclusions of nd6.h 2016-12-13 08:29:03 +00:00
tcp_vtw.h Remove unnecessary inclusions of nd6.h 2016-12-13 08:29:03 +00:00
tcp.h
tcpip.h
udp_private.h
udp_usrreq.c fix: "ifconfig destory" can stalls when "ifconfig" is done parallel. 2016-11-18 06:50:04 +00:00
udp_var.h Give proper prototype to udp_output. 2016-01-20 22:01:18 +00:00
udp.h