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] SetPageForeign in netback

To: Zang Hongyong <zanghongyong@xxxxxxxxxx>
Subject: Re: [Xen-devel] SetPageForeign in netback
From: Neil Turton <nturton@xxxxxxxxxxxxxx>
Date: Fri, 27 Jun 2008 16:59:01 +0100
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, gm281 <gm281@xxxxxxxxx>
Delivery-date: Fri, 27 Jun 2008 09:01:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20080625004218.47BAC13681C@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20080625004218.47BAC13681C@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.0 (X11/20070326)
Hi Zang,

You wrote:
> I noticed that the plug-in accelerator is available in Xen3.2 Source code. The
> accelerator is used for direct IO network devices such as Infiniband and
> Solarflare 10G Nic.
> Can it be used for the PCIE IOV devices? 
> and is there any referece implementation of PCIE IOV Nics now?        

The accelerator plug-in framework is designed to be general-purpose, so
it should work fine with IOV devices.  It requires a plug-in driver to
be written for both netfront and netback.  Between them, these drivers
will need to ensure that BAR pages are mapped into the guest, IOMMU page
tables are setup and interrupts passed to the guest.  These jobs are
outside the scope of the accelerator framework which is just concerned
with handing over traffic from netfront/netback.

I don't know of a reference implementation of an IOV NIC - just the
Solarflare one, but the PCI passthrough code should help you with
mapping interrupts and pages.  Which NIC are you wanting to use?

Cheers, Neil.

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