diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2009-02-08 18:00:39 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-08 20:22:19 -0800 |
commit | a5ad24be728d4352b71a81fba471aa41eb71f83a (patch) | |
tree | cdba82286ec2ef470fc4ae9531f6ccb14b0f2970 /include/scsi/scsi_tgt_if.h | |
parent | aa4b9f533ed5a22952e038b9fac2447ccc682124 (diff) |
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 'include/scsi/scsi_tgt_if.h')
0 files changed, 0 insertions, 0 deletions