Skip to contentSkip to conversation

Increase MAX_SKBUFF_ORDER

PATCH New Philip R. Auld 1 participant 1 message Nov 10, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Increase MAX_SKBUFF_ORDER

Hi,
The recent (changeset 7700) switch to use the architecture
specific skbuff allocation routine breaks with very large MTU sizes. The below patch raises the MAX_SKBUFF_ORDER to 3. Could this be applied to make it the default?

Thanks,

Phil

linux-2.6-xen-sparse/arch/xen/kernel/skbuff.c +1 -1
diff -r 136b2d20dc81 linux-2.6-xen-sparse/arch/xen/kernel/skbuff.c
@@ -17,7 +17,7 @@
 /* Referenced in netback.c. */
 /*static*/ kmem_cache_t *skbuff_cachep;
 
-#define MAX_SKBUFF_ORDER 2
+#define MAX_SKBUFF_ORDER 3
 static kmem_cache_t *skbuff_order_cachep[MAX_SKBUFF_ORDER + 1];
 
 static struct {
Signature · 3 lines
Philip R. Auld, Ph.D.  	        	       Egenera, Inc.    
Software Architect                            165 Forest St.
(508) 858-2628                            Marlboro, MA 01752