From: Keir Fraser Subject: Re: Problem with MTU > 1500, ifconfig segmentation fault Date: Tue, 13 Sep 2005 09:43:18 +0100 Message-ID: References: Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: satish_raghunath@hotmail.com Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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