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] Q on ioctl support in netfront/netback

To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Subject: Re: [Xen-devel] Q on ioctl support in netfront/netback
From: ravi kerur <rkerur@xxxxxxxxx>
Date: Wed, 17 Feb 2010 08:19:14 -0800
Cc: Paul Durrant <paul.durrant@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 17 Feb 2010 08:20:05 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=pfDB7cphAtgZZYJXdGu1W0jhQqXjcN2WzVyMQdwORlg=; b=kmUJ+2xN56d80DXtqBK2+RSAGoJy2vO+mswBykywkh0t444kpsIxtOP/MfekAxzo+N T1sDDEDQJsRluP+XmGqK11HiLcAnd2vymaMGcZR8gVUvK3UHm80A1LCDbB+mtnsuBv5L /vsRFxNKO+CQ6MiVNLpytGbN/JmNknFYFLC74=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=iS8kcjw8kJVdEwt5W9bo4VIRYw29kSubi1HgeoCOR1bywcZwuiJVNikHhJ2SmN6ho9 VXd27zsT6oU+Gw+E41zPc9waEYaKcf32HgoILFGDNtRnjVar7YBK7N18gSKO89RdGrgt //vRVZJFjFYnb2JgY01Pc0z6iCy4h2d0tXQxI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100216181454.GD21067@xxxxxxxxxxxxxxxxxxx>
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: <dfc283f41002141823o7ca47994g7530e5cfc6ef7ad6@xxxxxxxxxxxxxx> <4B791671.4050902@xxxxxxxxxx> <dfc283f41002150754w333813a4g15969fe418cba102@xxxxxxxxxxxxxx> <20100216181454.GD21067@xxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi Konrad,

Using PCI passthrough(I believe it is via config file changes) prevents other domU's accessing the NIC correct? If I use it, would the network transmit/receive still happen via netfront/netback drivers?

Thanks
-RK

On Tue, Feb 16, 2010 at 10:14 AM, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> wrote:
On Mon, Feb 15, 2010 at 07:54:02AM -0800, ravi kerur wrote:
> Paul,
>
> Registers are not in netback, they are h/w registers on NIC and the driver
> supports reads/writes via ioctl calls. Driver is in dom0 and application
> which reads/writes registers is run in domU.

You could use PCI passthrough. This way the NIC would be visible in your
DomU and you could fiddle with the registers.

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