WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

Re: [Xen-devel] [PATCH][RFC] correction trouble of short message in UDP

To: Tomonari Horikoshi <t.horikoshi@xxxxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH][RFC] correction trouble of short message in UDP
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Thu, 25 Jan 2007 12:26:21 +0000
Cc: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 25 Jan 2007 04:26:08 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <51C740708A201Ft.horikoshi@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcdAfAUoQ7zYkqxvEduKvwAX8io7RQ==
Thread-topic: [Xen-devel] [PATCH][RFC] correction trouble of short message in UDP
User-agent: Microsoft-Entourage/11.2.5.060620
On 25/1/07 11:04, "Tomonari Horikoshi" <t.horikoshi@xxxxxxxxxxxxxx> wrote:

> I confirmed the not error because of this correction.
> Is there a better correction?

It's along the right lines so I check it in as is. However, you probably
need to check that you have enough grant entries for worst-case packet
fragmentation (a packet may require more than one grant). Or start_xmit()
needs to be able to buffer one packet until it has enough grants to proceed
with its transmission.

 -- Keir


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