diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2009-02-08 18:00:40 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-08 20:22:19 -0800 |
commit | aa6320d336971171df1d13c1c284facf10804881 (patch) | |
tree | 3e659464dd24b9634897d631931f334ab1c22179 /drivers/net/pppoe.c | |
parent | a5ad24be728d4352b71a81fba471aa41eb71f83a (diff) | |
download | linux-aa6320d336971171df1d13c1c284facf10804881.tar.bz2 |
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>
Diffstat (limited to 'drivers/net/pppoe.c')
0 files changed, 0 insertions, 0 deletions