From: Herbert Xu Date: Tue, 26 May 2009 18:50:21 +0000 (+0000) Subject: gro: Inline skb_gro_header and cache frag0 virtual address X-Git-Tag: v2.6.31-rc1~330^2~259 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78a478d0efd9e86e5345b436e130497b4e5846e8;p=pandora-kernel.git gro: Inline skb_gro_header and cache frag0 virtual address The function skb_gro_header is called four times per packet which quickly adds up at 10Gb/s. This patch inlines it to allow better optimisations. Some architectures perform multiplication for page_address, which is done by each skb_gro_header invocation. This patch caches that value in skb->cb to avoid the unnecessary multiplications. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed