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 net subsystem and driver model query?

To: "Pradeep Singh, TLS-Chennai" <pradeep_s@xxxxxx>
Subject: Re: [Xen-devel] Xen net subsystem and driver model query?
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Sat, 07 Apr 2007 17:44:59 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 07 Apr 2007 09:43:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <66E8AEE9980BB44CA5FCAD39EBA56AC6C4C9E2@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <66E8AEE9980BB44CA5FCAD39EBA56AC6C4C9E2@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> Xen changes employs the technique of backend and frontend drivers for
> network drivers also.Does this means Xen hypervisor code for
> networking subsystem is also heavily changed to employ this?
> 
Xen itself doesn't include any network-related code.

The frontend driver runs in the domU kernel and just looks like an
ethernet device to the rest of Linux's networking subsystem.  The
backend device runs in the dom0 kernel and looks like a producer of
ethernet packets to the rest of the dom0 kernel...

Any modifications to the rest of the network stack to support this model
are pretty minimal.

> Any pointers to the src code files.

The drivers are in:

linux-2.6-sparse/drivers/xen/netfront/
linux-2.6-sparse/drivers/xen/netback/

The principle of operation of the block front and back drivers is very
similar.

Cheers,
Mark


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

<Prev in Thread] Current Thread [Next in Thread>