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: <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-ia64-devel] RE: Preliminary work on networking code
From: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>
Date: Mon, 5 Dec 2005 15:47:44 -0800
Cc: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>, Ewan Mellor <ewan@xxxxxxxxxxxxx>
Delivery-date: Mon, 05 Dec 2005 23:48:21 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcXu/66swbd6ZzrzQbq+ZFYPD89nXwK9Oppw
Thread-topic: Preliminary work on networking code
Another revision, this updated to be based on cset 8241
and a little more forward progress... still not intended
to run but raises an issue/question for Keir or Ewan:

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?

Thanks,
Dan

> -----Original Message-----
> From: Magenheimer, Dan (HP Labs Fort Collins) 
> Sent: Monday, November 21, 2005 5:57 PM
> To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
> Cc: Keir Fraser; 'Ewan Mellor'
> Subject: Preliminary work on networking code
> 
> I did a little work on netback and balloon to get them
> to compile for ia64.  (netfront compiles without changes)
> The attached patch on top of xen-unstable cset 7963 will
> compile.  A few notes:
> 
> 1) The resulting linux uses Xen-specific alloc_skb
>    and __dev_alloc_skb so this will NOT be transparently
>    paravirtualizable.  (It could be done with changes
>    to the x86 sparse files; I haven't done it.)
> 2) The resulting code isn't intended to work, just to
>    compile.  It should identify the vast majority of
>    arch-dep lines in the netback/balloon code, but
>    may entirely miss other code that will need semantic
>    changes to get networking working.
> 3) Because there are so many (25) "ifdef __ia64__"
>    it's unlikely this would be accepted into the
>    Xen tree.  More work needs to be done first.
> 4) It might be possible (using the now-unused ia64
>    patch file mechanism) to shoehorn this code into
>    the tree.
> 
> Dan
> 

Attachment: compile-net-ia64.8241.patch
Description: compile-net-ia64.8241.patch

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>