[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] VFs on dom0 not working

  • To: "xen-users@xxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxx>
  • From: "Pawlak, KubaX T" <kubax.t.pawlak@xxxxxxxxx>
  • Date: Fri, 17 Feb 2017 09:54:14 +0000
  • Accept-language: en-US
  • Delivery-date: Fri, 17 Feb 2017 09:55:26 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>
  • Thread-index: AdKJAzPjr4ce/X7NTiePxPM3n5s5cw==
  • Thread-topic: VFs on dom0 not working



I'm having an issue with a SRIOV device under dom0. I'm running Ubuntu 15.04

with Xen 4.5. There is also Debian Wheezy HVM guest present. The device is

creating 32 virtual functions. If a VF is connected to the guest, it all works fine,

but a VF does not work in dom0. Mode of operation is simple. Two rings

buffers are allocated for DMA, TX and RX. Data is placed in TX buffer and tail is

written to a register. Card then reads data and sets head to match tail. A short

while later it writes data to RX buffer and sets tail. But when RX buffer is

inspected, it comes out empty. Nothing has been written to it.

On the guest, there is data in this buffer which is then read by us.

I tried to debug this for a while, but nothing prints an obvious error message

that would be useful. I tried iommu command line parameters for Xen like

dom0-passthrough, dom0-strict, verbose, debug and nothing helped. I ran

out of ideas really how to poke this issue. I have no access to card's internals

so I cannot check what's doing. Tests were also done on proper Xenserver 6.5

and the behaviour is the same. For Qemu+KVM it works fine.




Intel Research and Development Ireland Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263

This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.