[email protected]
5425077d73
net: ipv6: Add early demux handler for UDP unicast
...
While running a single stream UDPv6 test, we observed that amount
of CPU spent in NET_RX softirq was much greater than UDPv4 for an
equivalent receive rate. The test here was run on an ARM64 based
Android system. On further analysis with perf, we found that UDPv6
was spending significant time in the statistics netfilter targets
which did socket lookup per packet. These statistics rules perform
a lookup when there is no socket associated with the skb. Since
there are multiple instances of these rules based on UID, there
will be equal number of lookups per skb.
By introducing early demux for UDPv6, we avoid the redundant lookups.
This also helped to improve the performance (800Mbps -> 870Mbps) on a
CPU limited system in a single stream UDPv6 receive test with 1450
byte sized datagrams using iperf.
v1->v2: Use IPv6 cookie to validate dst instead of 0 as suggested
by Eric
Signed-off-by: Subash Abhinov Kasiviswanathan <[email protected] >
Signed-off-by: David S. Miller <[email protected] >
2017-03-12 22:54:17 -07:00
..
ila
lwtunnel: remove device arg to lwtunnel_build_state
2017-01-30 15:14:22 -05:00
netfilter
ipv6: orphan skbs in reassembly unit
2017-03-01 20:55:57 -08:00
addrconf.c
ipv6: Provide ipv6 version of "disable_policy" sysctl
2017-03-06 17:10:20 -08:00
addrconf_core.c
addrlabel.c
af_inet6.c
Introduce a sysctl that modifies the value of PROT_SOCK.
2017-01-24 12:10:51 -05:00
ah6.c
IPsec: do not ignore crypto err in ah6 input
2017-01-16 12:57:48 +01:00
anycast.c
calipso.c
datagram.c
ipv6: Handle IPv4-mapped src to in6addr_any dst.
2017-02-14 12:13:51 -05:00
esp6.c
esp: Introduce a helper to setup the trailer
2017-01-17 10:23:08 +01:00
esp6_offload.c
esp: Add a software GRO codepath
2017-02-15 11:04:11 +01:00
exthdrs.c
ipv6: sr: remove cleanup flag and fix HMAC computation
2017-02-03 11:05:23 -05:00
exthdrs_core.c
exthdrs_offload.c
fib6_rules.c
net: flow: Add l3mdev flow update
2016-09-10 23:12:51 -07:00
fou6.c
icmp.c
net: for rate-limited ICMP replies save one atomic operation
2017-01-09 15:49:12 -05:00
inet6_connection_sock.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2017-01-28 10:33:06 -05:00
inet6_hashtables.c
inet: collapse ipv4/v6 rcv_saddr_equal functions into one
2017-01-18 13:04:28 -05:00
ip6_checksum.c
ip6_fib.c
net: ipv6: Change notifications for multipath delete to RTA_MULTIPATH
2017-02-04 19:58:14 -05:00
ip6_flowlabel.c
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
ip6_gre.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2017-02-07 16:29:30 -05:00
ip6_icmp.c
ip6_input.c
ip6_offload.c
net: Add a skb_gro_flush_final helper.
2017-02-15 09:39:39 +01:00
ip6_offload.h
ip6_output.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2017-02-19 11:18:46 -05:00
ip6_tunnel.c
ipv6: pointer math error in ip6_tnl_parse_tlv_enc_lim()
2017-02-01 12:27:33 -05:00
ip6_udp_tunnel.c
ip6_udp_tunnel: remove unused IPCB related codes
2016-11-02 15:18:36 -04:00
ip6_vti.c
vti6: return GRE_KEY for vti6
2017-02-24 11:42:55 -05:00
ip6mr.c
ipv6: check sk sk_type and protocol early in ip_mroute_set/getsockopt
2017-02-26 21:25:46 -05:00
ipcomp6.c
net: inet: Support UID-based routing in IP protocols.
2016-11-04 14:45:23 -04:00
ipv6_sockglue.c
net: Allow IP_MULTICAST_IF to set index to L3 slave
2016-12-30 15:24:47 -05:00
Kconfig
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec-next
2017-02-16 21:25:49 -05:00
Makefile
esp: Add a software GRO codepath
2017-02-15 11:04:11 +01:00
mcast.c
igmp, mld: Fix memory leak in igmpv3/mld_del_delrec()
2017-02-09 16:43:45 -05:00
mcast_snoop.c
mip6.c
ktime: Get rid of ktime_equal()
2016-12-25 17:21:23 +01:00
ndisc.c
ipv6 addrconf: Implemented enhanced DAD (RFC7527)
2016-12-03 23:21:37 -05:00
netfilter.c
net: inet: Support UID-based routing in IP protocols.
2016-11-04 14:45:23 -04:00
output_core.c
ipv6: Set skb->protocol properly for local output
2016-12-02 12:34:22 -05:00
ping.c
ipv6: remove unnecessary inet6_sk check
2016-12-29 12:05:49 -05:00
proc.c
proc: Reduce cache miss in snmp6_seq_show
2016-09-30 01:50:44 -04:00
protocol.c
raw.c
net: use dst_confirm_neigh for UDP, RAW, ICMP, L2TP
2017-02-07 13:07:47 -05:00
reassembly.c
ipv6: on reassembly, record frag_max_size
2016-11-03 15:41:11 -04:00
route.c
ipv6: ignore null_entry in inet6_rtm_getroute() too
2017-03-02 14:35:31 -08:00
seg6.c
ipv6: seg6_genl_set_tunsrc() must check kmemdup() return value
2017-01-20 11:07:48 -05:00
seg6_hmac.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2017-02-07 16:29:30 -05:00
seg6_iptunnel.c
ipv6: sr: fix non static symbol warnings
2017-02-07 11:42:35 -05:00
sit.c
sit: fix a double free on error path
2017-02-08 13:12:22 -05:00
syncookies.c
syncookies: use SipHash in place of SHA1
2017-01-09 13:58:57 -05:00
sysctl_net_ipv6.c
tcp_ipv6.c
tcp: rename *_sequence_number() to *_seq_and_tsoff()
2017-03-09 18:25:34 -08:00
tcpv6_offload.c
tunnel6.c
udp.c
net: ipv6: Add early demux handler for UDP unicast
2017-03-12 22:54:17 -07:00
udp_impl.h
udplite: call proper backlog handlers
2016-11-24 15:32:14 -05:00
udp_offload.c
udplite.c
udplite: call proper backlog handlers
2016-11-24 15:32:14 -05:00
xfrm6_input.c
esp: Add a software GRO codepath
2017-02-15 11:04:11 +01:00
xfrm6_mode_beet.c
xfrm6_mode_ro.c
xfrm6_mode_transport.c
esp: Add a software GRO codepath
2017-02-15 11:04:11 +01:00
xfrm6_mode_tunnel.c
xfrm6_output.c
xfrm6_policy.c
xfrm: policy: make policy backend const
2017-02-09 10:22:19 +01:00
xfrm6_protocol.c
xfrm: input: constify xfrm_input_afinfo
2017-02-09 10:22:17 +01:00
xfrm6_state.c
xfrm6_tunnel.c
netns: make struct pernet_operations::id unsigned int
2016-11-18 10:59:15 -05:00