Re: [Qemu-devel] using virtio-net multiqueues

2014-08-13 Thread William Dauchy
On Wed, Aug 13, 2014 at 8:03 PM, William Dauchy  wrote:
> during qemu startup I see several queues in
> /sys/devices/virtual/net/vifA.0/queues and it quickly disappears; at
> the end I see only one rx and one tx.
> Am I wrong on something? What can I do to help debug this situation?

finally found what was wrong; need to enable it in guest (with
ethtool) in order to see it since commit:
55257d7 virtio-net: fill only rx queues which are being used

Sorry for the noise,
-- 
William



Re: [Qemu-devel] using virtio-net multiqueues

2014-08-13 Thread William Dauchy
On Wed, Aug 13, 2014 at 8:03 PM, William Dauchy  wrote:
> Using qemu2.1 I'm starting a vm with this network interface:
>
> [netdev "vifA.0"]
>   type = "tap"
>   vhost = "on"
>   ifname = "vifA.0"
>   downscript = "no"
>   script = "no"
>   queues = "2"
>
> [device "vifA.0"]
>   driver = "virtio-net-pci"
>   netdev = "vifA.0"
>   mac = "00:16:3e:1a:4e:11"
>   mq = "on"
>   vectors = "5"
>
> during qemu startup I see several queues in
> /sys/devices/virtual/net/vifA.0/queues and it quickly disappears; at
> the end I see only one rx and one tx.
> Am I wrong on something? What can I do to help debug this situation?

my host is a linux3.14.X and the guest VM is running a linux3.12.X
-- 
William



[Qemu-devel] using virtio-net multiqueues

2014-08-13 Thread William Dauchy
Hello,

Using qemu2.1 I'm starting a vm with this network interface:

[netdev "vifA.0"]
  type = "tap"
  vhost = "on"
  ifname = "vifA.0"
  downscript = "no"
  script = "no"
  queues = "2"

[device "vifA.0"]
  driver = "virtio-net-pci"
  netdev = "vifA.0"
  mac = "00:16:3e:1a:4e:11"
  mq = "on"
  vectors = "5"

during qemu startup I see several queues in
/sys/devices/virtual/net/vifA.0/queues and it quickly disappears; at
the end I see only one rx and one tx.
Am I wrong on something? What can I do to help debug this situation?

Best regards,
-- 
William