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

Re: [Xen-devel] pci-passthrough and shared interrupts


  • To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
  • From: Ritu kaur <ritu.kaur.us@xxxxxxxxx>
  • Date: Thu, 26 Aug 2010 15:58:15 -0700
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 26 Aug 2010 15:59:29 -0700
  • 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=DfSRmbRhQ0zDtEQKGwkBV9VyYf8aGhZCjn7imwo2s45qc/EaR27PhnY1wHbBsZ+zyo HPVfhlVorFYoasRW8DW3U92/mzJrFRyszUVNjcsD6rsJAEbGWe0SK+pI6qbezR7UYh4O xhLvH512Plo0yTAGR67hIDn9UO+Qneohgs+5E=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Thanks Konrad,

I went to git repository for xen/next and found following two fixes for shared irq


I believe these are the only changes I need to backport to xcp?

Regarding the nic, it was just a clarification I needed. Its a regular 10G nic which is being co-developed along with qlogic.

Thanks
-Ritu

On Wed, Aug 25, 2010 at 4:43 PM, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> wrote:
On Wed, Aug 25, 2010 at 03:48:35PM -0700, Ritu kaur wrote:
> Thanks Konrad. Additional Q below
>
> On Wed, Aug 25, 2010 at 3:34 PM, Konrad Rzeszutek Wilk <
> konrad.wilk@xxxxxxxxxx> wrote:
>
> > On Wed, Aug 25, 2010 at 03:17:29PM -0700, Ritu kaur wrote:
> > > Hello,
> > >
> > > Couple of months back when we were testing xcp 0.1.1 and pci passthrough
> > we
> > > ran into issues when pci-passthrough enabled device shared interrupts
> > with
> > > another controller(in our case interrupt was shared between ide
> > controller
> > > and our nic). At that time Ian Campbell suggested backporting
> > event-channel
> > > changes from pvops to 2.6.27 kernel. Have two questions related to this
> > >
> > > 1. I am thinking of porting the changes now but wanted to check if it has
> > > been addressed?
> >
> > I've added some patches in the pvops tree that make this work. You would
> > essentially have to backport the pciback driver to the XCP
> > infrastructure. And you might have to backport the event channels as
> > well, not sure about that.
> >
>
>  I will take a look at the patches.
>
> > >
> > > 2. Will shared interrupts be a problem for pci-e slots as well?
> >
> > No.
> >
>
> So if I have XCP + NIC installed in pci-e slot and interrupts shared with
> another device, pci passthrough should work fine, is this correct?

Ugh, I am surprised you have that. Most of the time if you do use an NIC
in PCI-e it would be MSI based. An MSI's are never shared.

So if your device is PCIe and you get legacy IRQ that is shared with
another device on your board, then you will need to backport the
'pciback' driver.

What NIC is it that does this?

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

 


Rackspace

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