From: Stephen Hemminger Date: Wed, 28 Nov 2007 22:50:16 +0000 (-0800) Subject: sky2: rx allocation threshold change X-Git-Tag: v2.6.25-rc1~1162^2~579 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f06eba4dce361bfc077868d044768476b41d698;p=pandora-kernel.git sky2: rx allocation threshold change When using larger MTU's sky2 driver changes from allocating one data area, to using multiple pages. The threshold for this was based on a heuristic where the cost of a single allocation is bigger than one page. Since the allocator has changed, this heuristic is now incorrect; instead just make the threshold be when the total size of the allocation is greater than one page. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed