From: Ben Hutchings Date: Thu, 29 Oct 2009 07:21:33 +0000 (+0000) Subject: sfc: Enable heuristic selection between page and skb RX buffers X-Git-Tag: v3.12-rc1~12159^2~593 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c3c6336504c59d9febc30de199dfee6a65a5d6ae;p=kernel%2Fkernel-generic.git sfc: Enable heuristic selection between page and skb RX buffers Now that we can tell whether GRO is being applied, this heuristic is effective once more. Signed-off-by: Ben Hutchings Signed-off-by: David S. Miller --- diff --git a/drivers/net/sfc/rx.c b/drivers/net/sfc/rx.c index 9277e9a..a60c718 100644 --- a/drivers/net/sfc/rx.c +++ b/drivers/net/sfc/rx.c @@ -61,7 +61,7 @@ * rx_alloc_method = (rx_alloc_level > RX_ALLOC_LEVEL_LRO ? * RX_ALLOC_METHOD_PAGE : RX_ALLOC_METHOD_SKB) */ -static int rx_alloc_method = RX_ALLOC_METHOD_PAGE; +static int rx_alloc_method = RX_ALLOC_METHOD_AUTO; #define RX_ALLOC_LEVEL_LRO 0x2000 #define RX_ALLOC_LEVEL_MAX 0x3000