gro: Optimise TCP packet reception
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 8 Feb 2009 18:00:40 +0000 (18:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Feb 2009 04:22:19 +0000 (20:22 -0800)
gro: Optimise TCP 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 uses bit ops to logical ops, as well as open coding
memcmp to exploit alignment properties.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found