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] one more question on ethernet front end

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] one more question on ethernet front end
From: ron minnich <rminnich@xxxxxxxx>
Date: Wed, 1 Sep 2004 16:24:49 -0600 (MDT)
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 01 Sep 2004 23:32:36 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: <E1C2bFs-00059Y-00@xxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
On Wed, 1 Sep 2004, Keir Fraser wrote:

> 
> The frames you get from the receive ring are not necessarily the ones
> you removed from your memory reservation. i.e., you will be replacing
> with different pages.

Something else I'm unclear on then: what if you have a pfn array that is
of size x, covering a range of physical frame numbers, and you get back a
pfn that has an index such that it won't fit in that array? I'm a little
unclear on how this would work.  It looks in the newer stuff like you
don't really resize the array, unless I missed it. I guess I'll look
again, but does the linux loader size the mfn array in all cases so that
it has enough entries for all of physical memory, so that it can 
accomodate any PFN? 

Anyway, back to board of drawings.

> PS. Try to stick close to the Linxu device drivers as much as possible
> -- the mechanism for granting foreign access to your pages, and for
> accepting page transfers from other foreign domains, will be changing
> soon (it's rather fast and loose at the moment). It'll be nice if you
> can take a patch directly from our Linux tree. 

yeah, I'm staying as close as I can. Moving .h files over is a script. .c 
can not be a script for many reasons, and I'll tell you that linux and bsd 
drivers are way more similar to each other than they are to Plan 9 
drivers, but I can track the xen stuff anyway.

ron



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel