aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2011-03-27 14:57:26 +0000
committerDavid S. Miller <davem@davemloft.net>2011-03-28 22:26:32 -0700
commita715dea3c8e9ef2771c534e05ee1d36f65987e64 (patch)
tree7734586473abed25f7ec4b8423adbdba3d829a61 /drivers/net
parentipv4: Don't ip_rt_put() an error pointer in RAW sockets. (diff)
downloadlinux-dev-a715dea3c8e9ef2771c534e05ee1d36f65987e64.tar.xz
linux-dev-a715dea3c8e9ef2771c534e05ee1d36f65987e64.zip
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 <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions