Subject: Re: [RFC PATCH 1/4] Add a new API to virtio-pci

From: Avi Kivity <[email-masked]>
Date: Mon, 13 Sep 2010 19:00:51 +0200

On 09/13/2010 06:30 PM, Michael S. Tsirkin wrote:
> Trouble is, each vhost-net device is associated with 1 tun/tap
> device which means that each vhost-net device is associated with a
> transmit and receive queue.
>
> I don't know if you'll always have an equal number of transmit and
> receive queues but there's certainly  challenge in terms of
> flexibility with this model.
>
> Regards,
>
> Anthony Liguori
> Not really, TX and RX can be mapped to different devices,
> or you can only map one of these. What is the trouble?

Suppose you have one multiqueue-capable ethernet card.  How can you 
connect it to multiple rx/tx queues?

tx is in principle doable, but what about rx?

What does "only map one of these" mean?  Connect the device with one 
queue (presumably rx), and terminate the others?

Will packet classification work (does the current multiqueue proposal 
support it)?

-- 
error compiling committee.c: too many arguments to function