From: Eric Dumazet Date: Tue, 15 Nov 2011 07:30:05 +0000 (+0000) Subject: bnx2: switch to build_skb() infrastructure X-Git-Tag: v3.3-rc1~182^2~542 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd2bc8e9c0685d8eaaaf06e65919e31d60478411;p=pandora-kernel.git bnx2: switch to build_skb() infrastructure This is very similar to bnx2x conversion, but bnx2 only requires 16bytes alignement at start of the received frame to store its l2_fhdr, so goal was not to reduce skb truesize (in fact it should not change after this patch) Using build_skb() reduces cache line misses in the driver, since we use cache hot skb instead of cold ones. Number of in-flight sk_buff structures is lower, they are more likely recycled in SLUB caches while still hot. Signed-off-by: Eric Dumazet CC: Michael Chan CC: Eilon Greenstein Reviewed-by: Michael Chan Signed-off-by: David S. Miller --- Reading git-diff-tree failed