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

[Xen-ia64-devel] Re: Preliminary work on networking code

To: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>
Subject: [Xen-ia64-devel] Re: Preliminary work on networking code
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Tue, 6 Dec 2005 14:59:39 +0000
Cc: Ewan Mellor <ewan@xxxxxxxxxxxxx>, xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 06 Dec 2005 14:54:27 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <516F50407E01324991DD6D07B0531AD587618B@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <516F50407E01324991DD6D07B0531AD587618B@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 5 Dec 2005, at 23:47, Magenheimer, Dan (HP Labs Fort Collins) wrote:

The comms ring seems to require two consecutive pages,
one for xmit and one for rcv.  Both are obtained via
map_grant_ref.  However map_grant_ref on ia64 may
choose (like mmap) to return an address different than
the one requested.  If it does, I think the existing
netif code will break badly.  Are there two pages mapped
because PAGE_SIZE=4K on x86?  In other words, would one
16K page be sufficient for ia64?  Or do the two pages
potentially have different attributes and thus must really
be separate pages?

No, they can reside on the same 16kB page. The pages are not consecutive on x86 -- they are two arbitrary pages.

 -- Keir


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

<Prev in Thread] Current Thread [Next in Thread>