summaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2022-11-02 13:46:33 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2022-11-15 10:53:19 +0100
commitd2c806abcf0b582131e1f93589d628dac0c07bf4 (patch)
tree34455cfef1019bbe4192ab62e02518aae7b9b91f /net/ipv6
parent971095c6fa4aebc0af923c32a28124871fe35136 (diff)
downloadlinux-stable-d2c806abcf0b582131e1f93589d628dac0c07bf4.tar.gz
linux-stable-d2c806abcf0b582131e1f93589d628dac0c07bf4.tar.bz2
linux-stable-d2c806abcf0b582131e1f93589d628dac0c07bf4.zip
netfilter: conntrack: use siphash_4u64
This function is used for every packet, siphash_4u64 is noticeably faster than using local buffer + siphash: Before: 1.23% kpktgend_0 [kernel.vmlinux] [k] __siphash_unaligned 0.14% kpktgend_0 [nf_conntrack] [k] hash_conntrack_raw After: 0.79% kpktgend_0 [kernel.vmlinux] [k] siphash_4u64 0.15% kpktgend_0 [nf_conntrack] [k] hash_conntrack_raw In the pktgen test this gives about ~2.4% performance improvement. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions