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

[Xen-devel] SR-IOV problems - HVM cannot access network

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] SR-IOV problems - HVM cannot access network
From: David White <dwhite@xxxxxxxxxxxxx>
Date: Tue, 01 Mar 2011 11:31:47 -0800
Delivery-date: Tue, 01 Mar 2011 11:32:27 -0800
Envelope-to: www-data@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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7
Hi all,

I am having problems getting SR-IOV functions to work in my HVMs. My hardware has VT-d support, and pci passthrough works fine for physical functions. In a nutshell here is the current state:

Dom0 : NICs are 2-port 82576. I can get full network access using either PF or VF interfaces.
HVM : PCI passthrough of physical functions work -- full network access
HVM : PCI passthrough of virtual functions fail -- can send pkts but cannot receive.

The best lead I have right now is evident from the qemu logs.

when PF (04:00.0) is assigned to HVM:

pt_msix_init: get MSI-X table bar base fafbc000
pt_msix_init: table_off = 0, total_entries = 10
pt_msix_init: errno = 2
pt_msix_init: mapping physical MSI-X table to 7f23a03d5000
pt_msi_setup: msi mapped with pirq 37
pci_intx: intx=1
register_real_device: Real physical device 04:00.0 registered successfuly!
IRQ type = MSI-INTx

when VF (04:10.2) is assigned to HVM:

pt_msix_init: get MSI-X table bar base fae24000
pt_msix_init: table_off = 0, total_entries = 3
pt_msix_init: errno = 2
pt_msix_init: mapping physical MSI-X table to 7fc918846000
register_real_device: Real physical device 04:10.2 registered successfuly!
IRQ type = INTx

VFs don't seem to be using MSI/MSI-X interupts. Does this indicate a problem?

Can anyone give some insight on this?
thanks  - david

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