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