[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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




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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.