From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH][RFC] correction trouble of short message in UDP Date: Thu, 25 Jan 2007 12:26:21 +0000 Message-ID: References: <51C740708A201Ft.horikoshi@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <51C740708A201Ft.horikoshi@jp.fujitsu.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Tomonari Horikoshi , xen-devel Cc: xen-ia64-devel List-Id: xen-devel@lists.xenproject.org On 25/1/07 11:04, "Tomonari Horikoshi" 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