From: Eric Dumazet Date: Fri, 27 Aug 2010 05:03:08 +0000 (-0700) Subject: gro: __napi_gro_receive() optimizations X-Git-Tag: v2.6.37-rc1~147^2~647 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40d0802b3eb47d57e2d57a5244a18cbbe9632e13;p=pandora-kernel.git gro: __napi_gro_receive() optimizations compare_ether_header() can have a special implementation on 64 bit arches if CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS is defined. __napi_gro_receive() and vlan_gro_common() can avoid a conditional branch to perform device match. On x86_64, __napi_gro_receive() has now 38 instructions instead of 53 As gcc-4.4.3 still choose to not inline it, add inline keyword to this performance critical function. Signed-off-by: Eric Dumazet CC: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed