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/
Home Products Support Community News


Re: [Xen-devel] NIC: Queue assignment to guest OS

To: Kallol Biswas <kallol@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] NIC: Queue assignment to guest OS
From: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Date: Tue, 19 Apr 2011 16:45:32 -0400
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 19 Apr 2011 13:46:26 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <8DE07D65-675C-4AF7-8B4F-AA643173250F@xxxxxxxxxxxxxx>
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>
References: <003801cbfb0a$de67a410$9b36ec30$@com> <20110419184750.GB7427@xxxxxxxxxxxx> <8DE07D65-675C-4AF7-8B4F-AA643173250F@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
On Tue, Apr 19, 2011 at 11:50:35AM -0700, Kallol Biswas wrote:
> Unfortunately other frameworks are not open source, and we can not use the 
> design and expose to all.

Please don't top post.
> On Apr 19, 2011, at 11:47 AM, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> 
> wrote:
> > On Thu, Apr 14, 2011 at 06:17:17PM -0700, Kallol Biswas wrote:
> >> Hi,
> >> 
> >>    I have a requirement to assign the transmit and receive queues of a NIC
> >> card to different guest operating systems so that the guests can directly
> >> submit transmit requests to controller and receive packets from NIC
> >> controller without going through a middle layer.  The NIC controller is not
> >> SRIOV capable and there are a few MSI-X vectors available.
> > 
> > OK. So you want to "export" the rx and tx queue (where each queue is 
> > associated
> > with an MSI-X) in the guest.
> > 
> >> 
> >> 
> >> 
> >> What would be the best way to implement the requirement in Xen? I am new to
> >> Xen but have experience in a similar virtualization framework.
> > 
> > How did you do this in other virtualization frameworks?

I am still at loss here how you guys managed this without ripping the network
driver of a NIC card and passed the MSI-X to a guest and the full PCI device
to _all_ of them and managed to negotiate some form of locking.

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>