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-devel

Re: [Xen-devel] 3.0.4 (and earlier): skbuff_ctor() use of xen_create_con

To: Jan Beulich <jbeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] 3.0.4 (and earlier): skbuff_ctor() use of xen_create_contiguous_region()
From: David Edmondson <dme@xxxxxxx>
Date: Fri, 9 Mar 2007 12:37:24 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 09 Mar 2007 04:34:22 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <45F15E73.76E4.0078.0@xxxxxxxxxx>
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>
References: <45F15E73.76E4.0078.0@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.7i
On Fri, Mar 09, 2007 at 12:17:39PM +0000, Jan Beulich wrote:
> While I realize that this is gone from -unstable, I'd still like to
> understand what the purpose of using xen_create_contiguous_region()
> in skbuff_ctor() was, and specifically what consequences I am to
> expect when this call fails.

So that a multi-page packet is physically contiguous when passed to
the NIC for transmit?

If it's not physically contiguous and the NIC hardware can't do
scatter gather then the driver has to re-allocate and copy.

dme.

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