From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Law Subject: Re: Xen support for PCI-SIG I/O Virtualization Date: Wed, 16 Jan 2008 17:55:43 +0000 Message-ID: <478E451F.5080105@solarflare.com> References: <78C9135A3D2ECE4B8162EBDCE82CAD7702D4F76C@nekter> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <78C9135A3D2ECE4B8162EBDCE82CAD7702D4F76C@nekter> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Masroor Vettuparambil Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Masroor Vettuparambil wrote: > Hi, > > what is the current support of Xen for PCI-SIG IOV SR/MR spec? > I have a PCIe device which supports multiple virtual functions(VF), and > want to enable direct assignment of each of these VFs to different domUs. > So is it possible to assign a PCIe virtual channel/function to domU > directly? Have you seen the work we did recently to allow smart NIC's to be accessed directly from the guest? Essentially your "accelerated" driver is a plugin to netfront (which knows how to send/receive packets with safe direct access hardware to the NIC), and a plugin for netback which deals with the privileged part of programming the NIC (e.g. creating virtual devices and handing them out to the guests as appropriate). Among other things, this architecture means you can support migrating to machines with no smart hardware, or a different smart NIC. Let me know if you want to know more. As far as programming the IOMMU goes, I've seen various patches flying around so I know work has been done here, but I don't know any more than that. Cheers, Greg -- Greg Law +44 1223 518 040