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

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@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.
> 
> References
> 
>    Visible links
>    1. mailto:konrad.wilk@xxxxxxxxxx

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


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