From: Anton Blanchard Date: Sun, 27 Mar 2011 14:57:26 +0000 (+0000) Subject: net: Always allocate at least 16 skb frags regardless of page size X-Git-Tag: v2.6.39-rc1~9^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a715dea3c8e9ef2771c534e05ee1d36f65987e64;p=pandora-kernel.git net: Always allocate at least 16 skb frags regardless of page size When analysing performance of the cxgb3 on a ppc64 box I noticed that we weren't doing much GRO merging. It turns out we are limited by the number of SKB frags: #define MAX_SKB_FRAGS (65536/PAGE_SIZE + 2) With a 4kB page size we have 18 frags, but with a 64kB page size we only have 3 frags. I ran a single stream TCP bandwidth test to compare the performance of Signed-off-by: David S. Miller --- Reading git-diff-tree failed