commit | aa6320d336971171df1d13c1c284facf10804881 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Sun Feb 08 18:00:40 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Feb 08 20:22:19 2009 -0800 |
tree | 3e659464dd24b9634897d631931f334ab1c22179 | |
parent | a5ad24be728d4352b71a81fba471aa41eb71f83a [diff] |
gro: Optimise TCP packet reception 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>