|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
[Xen-ia64-devel] RE: 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
>
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>
|
- [Xen-ia64-devel] RE: Preliminary work on networking code,
Magenheimer, Dan (HP Labs Fort Collins) <=
|
|
|
|
|