Re: [Qemu-devel] [PATCH V2] virtio-net: calculate proper msix vectors on init

2014-03-04 Thread Gonglei
; Behalf Of Jason Wang >>> Sent: Friday, February 21, 2014 5:05 PM >>> To: aligu...@amazon.com; m...@redhat.com; qemu-devel@nongnu.org >>> Cc: Paolo Bonzini; Jason Wang >>> Subject: [Qemu-devel] [PATCH V2] virtio-net: calculate proper msix vectors >>> on &

Re: [Qemu-devel] [PATCH V2] virtio-net: calculate proper msix vectors on init

2014-03-04 Thread Jason Wang
21, 2014 5:05 PM >> To: aligu...@amazon.com; m...@redhat.com; qemu-devel@nongnu.org >> Cc: Paolo Bonzini; Jason Wang >> Subject: [Qemu-devel] [PATCH V2] virtio-net: calculate proper msix vectors on >> init >> >> Currently, the default msix vectors for virtio-net-pci is 3 wh

Re: [Qemu-devel] [PATCH V2] virtio-net: calculate proper msix vectors on init

2014-03-04 Thread Jason Wang
21, 2014 5:05 PM >> To: aligu...@amazon.com; m...@redhat.com; qemu-devel@nongnu.org >> Cc: Paolo Bonzini; Jason Wang >> Subject: [Qemu-devel] [PATCH V2] virtio-net: calculate proper msix vectors on >> init >> >> Currently, the default msix vectors for virtio-net-pci is 3 wh

Re: [Qemu-devel] [PATCH V2] virtio-net: calculate proper msix vectors on init

2014-03-03 Thread Gonglei (Arei)
el@nongnu.org > Cc: Paolo Bonzini; Jason Wang > Subject: [Qemu-devel] [PATCH V2] virtio-net: calculate proper msix vectors on > init > > Currently, the default msix vectors for virtio-net-pci is 3 which is > obvious not suitable for multiqueue guest, so we depends on the user >

[Qemu-devel] [PATCH V2] virtio-net: calculate proper msix vectors on init

2014-02-21 Thread Jason Wang
Currently, the default msix vectors for virtio-net-pci is 3 which is obvious not suitable for multiqueue guest, so we depends on the user or management tools to pass a correct vectors parameter. In fact, we can simplifying this by calculate the number of vectors on init. Consider we have N queues,