From: Herbert Xu Date: Sun, 8 Feb 2009 18:00:39 +0000 (+0000) Subject: gro: Optimise IPv4 packet reception X-Git-Tag: v2.6.30-rc1~662^2~762 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5ad24be728d4352b71a81fba471aa41eb71f83a;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed