aboutsummaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2018-11-06 14:25:52 -0800
committerDavid S. Miller <davem@davemloft.net>2018-11-06 14:59:27 -0800
commit0b215b9798640a542c526e3ae69dee83861a4aee (patch)
tree8fd33e25e96051f31213de5f5f02ec2f03417a93 /net/core
parentnet: skbuff.h: remove unnecessary unlikely() (diff)
downloadlinux-dev-0b215b9798640a542c526e3ae69dee83861a4aee.tar.xz
linux-dev-0b215b9798640a542c526e3ae69dee83861a4aee.zip
ipv6: gro: do not use slow memcmp() in ipv6_gro_receive()
ipv6_gro_receive() compares 34 bytes using slow memcmp(), while handcoding with a couple of ipv6_addr_equal() is much faster. Before this patch, "perf top -e cycles:pp -C <cpu>" would see memcmp() using ~10% of cpu cycles on a 40Gbit NIC receiving IPv6 TCP traffic. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions