From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: Q on ioctl support in netfront/netback Date: Wed, 17 Feb 2010 18:27:42 +0200 Message-ID: <20100217162742.GC2861@reaktio.net> References: <4B791671.4050902@citrix.com> <20100216181454.GD21067@phenom.dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: ravi kerur Cc: Paul Durrant , "xen-devel@lists.xensource.com" , Konrad Rzeszutek Wilk List-Id: xen-devel@lists.xenproject.org On Wed, Feb 17, 2010 at 08:19:14AM -0800, ravi kerur wrote: > 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? > No. If you use PCI passthrough then the domU uses the real driver for the nic that would also be used on baremetal or in dom0. PCI passthrough for a NIC is only possible to one/single domU, per PCI device. (Some multiport NICs show up as a multiple PCI devices, which allows you to passthrough different ports to different domUs). -- Pasi > Thanks > -RK > > On Tue, Feb 16, 2010 at 10:14 AM, Konrad Rzeszutek Wilk > <[1]konrad.wilk@oracle.com> 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. > > References > > Visible links > 1. mailto:konrad.wilk@oracle.com > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel