* NIC: Queue assignment to guest OS
@ 2011-04-15 1:17 Kallol Biswas
2011-04-19 18:47 ` Konrad Rzeszutek Wilk
0 siblings, 1 reply; 5+ messages in thread
From: Kallol Biswas @ 2011-04-15 1:17 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 572 bytes --]
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.
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.
Any input or pointer to document will be appreciated.
Kallol
[-- Attachment #1.2: Type: text/html, Size: 2403 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: NIC: Queue assignment to guest OS
2011-04-15 1:17 NIC: Queue assignment to guest OS Kallol Biswas
@ 2011-04-19 18:47 ` Konrad Rzeszutek Wilk
2011-04-19 18:50 ` Kallol Biswas
0 siblings, 1 reply; 5+ messages in thread
From: Konrad Rzeszutek Wilk @ 2011-04-19 18:47 UTC (permalink / raw)
To: Kallol Biswas; +Cc: xen-devel
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?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: NIC: Queue assignment to guest OS
2011-04-19 18:47 ` Konrad Rzeszutek Wilk
@ 2011-04-19 18:50 ` Kallol Biswas
2011-04-19 20:45 ` Konrad Rzeszutek Wilk
0 siblings, 1 reply; 5+ messages in thread
From: Kallol Biswas @ 2011-04-19 18:50 UTC (permalink / raw)
To: Konrad Rzeszutek Wilk; +Cc: xen-devel@lists.xensource.com
Unfortunately other frameworks are not open source, and we can not use the design and expose to all.
On Apr 19, 2011, at 11:47 AM, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> 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?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: NIC: Queue assignment to guest OS
2011-04-19 18:50 ` Kallol Biswas
@ 2011-04-19 20:45 ` Konrad Rzeszutek Wilk
2011-04-19 23:24 ` Kallol Biswas
0 siblings, 1 reply; 5+ messages in thread
From: Konrad Rzeszutek Wilk @ 2011-04-19 20:45 UTC (permalink / raw)
To: Kallol Biswas; +Cc: xen-devel@lists.xensource.com
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@oracle.com> 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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: NIC: Queue assignment to guest OS
2011-04-19 20:45 ` Konrad Rzeszutek Wilk
@ 2011-04-19 23:24 ` Kallol Biswas
0 siblings, 0 replies; 5+ messages in thread
From: Kallol Biswas @ 2011-04-19 23:24 UTC (permalink / raw)
To: 'Konrad Rzeszutek Wilk'; +Cc: xen-devel
If it is ok to modify host the network driver how should we do it in Xen?
What modules/driver should be changed.
The idea is to avoid backend/frontend implementation, and give direct HW
access to guest for maximum performance. There are certain issues with
guests accessing HW directly, one of them is guest to guest communication,
and another is VM migration.
Sorry again, legal agreement prevents us to disclose anything in previous
implementation; we overcame these issues in a certain way. Xen NIC folks
should be able to address the issues.
> >
> > 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
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-04-19 23:24 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-15 1:17 NIC: Queue assignment to guest OS Kallol Biswas
2011-04-19 18:47 ` Konrad Rzeszutek Wilk
2011-04-19 18:50 ` Kallol Biswas
2011-04-19 20:45 ` Konrad Rzeszutek Wilk
2011-04-19 23:24 ` Kallol Biswas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).