summaryrefslogtreecommitdiffstats
path: root/net/ipv4/igmp.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2009-02-08 19:00:39 +0100
committerDavid S. Miller <davem@davemloft.net>2009-02-09 05:22:19 +0100
commita5ad24be728d4352b71a81fba471aa41eb71f83a (patch)
treecdba82286ec2ef470fc4ae9531f6ccb14b0f2970 /net/ipv4/igmp.c
parentgro: Optimise Ethernet header comparison (diff)
downloadlinux-a5ad24be728d4352b71a81fba471aa41eb71f83a.tar.xz
linux-a5ad24be728d4352b71a81fba471aa41eb71f83a.zip
gro: Optimise IPv4 packet reception
As this function can be called more than half a million times for 10GbE, it's important to optimise it as much as we can. This patch does some obvious changes to use 2-byte and 4-byte operations instead of byte-oriented ones where possible. Bit ops are also used to replace logical ops to reduce branching. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/igmp.c')
0 files changed, 0 insertions, 0 deletions