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] Xen support for PCI-SIG I/O Virtualization

To: Masroor Vettuparambil <Masroor.Vettuparambil@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Xen support for PCI-SIG I/O Virtualization
From: Greg Law <glaw@xxxxxxxxxxxxxx>
Date: Fri, 18 Jan 2008 17:31:16 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 18 Jan 2008 10:38:01 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <78C9135A3D2ECE4B8162EBDCE82CAD7702DE578A@nekter>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <683860AD674C7348A0BF0DE3918482F6069EEC65@xxxxxxxxxxxxxxxxx> <478F3BE5.6060704@xxxxxxxxxxxxxx> <78C9135A3D2ECE4B8162EBDCE82CAD7702DE578A@nekter>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.9 (X11/20071031)
Hi Masroor,

Masroor Vettuparambil wrote:
hi Greg,
thanks for the comment.
I have yet to go through ur work. Please provide a quick link.

I would like to know whether your proprietary mechanism supports virtual
functions just like in IOV.
If so, can you brief me on how this is accessed from the host and
assigned to guest domains? Infact I am more interested how this is happening in IOV method.

The framework is deliberately very generic. Essentially it is just a way for netfront to have a plugin which can handle tx/rx of packets directly. How this works (IOV, proprietary, whatever) is not the concern of the framework: you write netfront and netback plugins to implement it as required by your hardware.

The framework is not really intended to avoid you needing to write lots of code - it's not a "library". Rather it's the minimum amount of infrastructure required so that VMs can be migrated between different hosts with different types of smart NICs (or no smart NICs).

No one has written an implementation of plugins that use IOV yet, but I'm pretty confident it will work without major changes.

As for the code, a good place to start is the definition of struct netfront_accel_hooks in linux/drivers/xen/netfront/netfront.h

The set of patches were posted to xen-devel by Kieran Mansley Fri, 18 May 2007. Sadly, I'm not sure what the change set number is, but you can get more info here: http://lwn.net/Articles/235124/

g

--
Greg Law          Solarflare Communications           +44 1223 518 040

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