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

Re: [Xen-devel] Problem with MTU > 1500, ifconfig segmentation fault



On 12 Sep 2005, at 22:48, Satish Raghunath wrote:

I modified the
xen-2.0.7/linux-2.6.11-xen-sparse/arch/xen/kernel/skbuff.c to borrow
changes from the same file in the 3.0 branch. I omitted calls to
"xen_create_contiguous_region" and "xen_destroy_contiguous_region" since
they seemed to call newer hypercalls. The resulting patch is pasted
below. I am able to ping with large frames (up to 8174 bytes). I have
not tested this beyond "ping -s", so I am not sure if this is the right
way to do it.

Is the call to "xen_create_contiguous_region" necessary or is it a
performance enhancement?

The call to xen_create_contiguous_memory() is important, but it's called something else in 2.0 (xen_contig_memory()). It's used in the same way though. The call to xen_destroy_contiguous_memory() can be safely left out.

Without using xen_contig_memory, you'll find that jumbo frames will fail if you do a debug build of Xen.

If you add that in then we'll take the patch. Thanks!

 -- Keir


_______________________________________________
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®.