Re: [Qemu-devel] [PATCH V3 09/14] virtio: introduce vector to virtqueues mapping

2015-03-09 Thread Jason Wang
On Fri, Mar 6, 2015 at 8:55 PM, Cornelia Huck wrote: On Thu, 5 Mar 2015 13:48:46 +0800 Jason Wang wrote: Currently we will try to traverse all virtqueues to find a subset that using a specific vector. This is sub optimal when we will support hundreds or even thousands of virtqueues. S

Re: [Qemu-devel] [PATCH V3 09/14] virtio: introduce vector to virtqueues mapping

2015-03-06 Thread Cornelia Huck
On Thu, 5 Mar 2015 13:48:46 +0800 Jason Wang wrote: > Currently we will try to traverse all virtqueues to find a subset that > using a specific vector. This is sub optimal when we will support > hundreds or even thousands of virtqueues. So this patch introduces a > method which could be used by

[Qemu-devel] [PATCH V3 09/14] virtio: introduce vector to virtqueues mapping

2015-03-04 Thread Jason Wang
Currently we will try to traverse all virtqueues to find a subset that using a specific vector. This is sub optimal when we will support hundreds or even thousands of virtqueues. So this patch introduces a method which could be used by transport to get all virtqueues that using a same vector. This