[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] 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


Signed-Off-by: Philip Auld <pauld@xxxxxxxxxxx>

diff -r 136b2d20dc81 linux-2.6-xen-sparse/arch/xen/kernel/skbuff.c
--- a/linux-2.6-xen-sparse/arch/xen/kernel/skbuff.c     Wed Nov  9 15:08:37 2005
+++ b/linux-2.6-xen-sparse/arch/xen/kernel/skbuff.c     Thu Nov 10 09:40:26 2005
@@ -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 {





-- 
Philip R. Auld, Ph.D.                          Egenera, Inc.    
Software Architect                            165 Forest St.
(508) 858-2628                            Marlboro, MA 01752

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.