diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2009-02-08 18:00:37 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-08 20:22:18 -0800 |
commit | aa4b9f533ed5a22952e038b9fac2447ccc682124 (patch) | |
tree | 91722b13a63dcd0e49695388e633cfa91b856b80 /firmware/kaweth | |
parent | 4ae5544f9a33e4ae306e337f96951eb3ff2df6d9 (diff) | |
download | linux-aa4b9f533ed5a22952e038b9fac2447ccc682124.tar.bz2 |
gro: Optimise Ethernet header comparison
This patch optimises the Ethernet header comparison to use 2-byte
and 4-byte xors instead of memcmp. In order to facilitate this,
the actual comparison is now carried out by the callers of the
shared dev_gro_receive function.
This has a significant impact when receiving 1500B packets through
10GbE.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'firmware/kaweth')
0 files changed, 0 insertions, 0 deletions