qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: xuan <1877015@bugs.launchpad.net>
To: qemu-devel@nongnu.org
Subject: RE: [Bug 1877015] [NEW] virtio only support packed ring size power of 2 between 256 and 1024
Date: Wed, 06 May 2020 05:14:20 -0000	[thread overview]
Message-ID: <7bea3ac6f10943e8b950957e484c1486@intel.com> (raw)
In-Reply-To: CAE2XoE8tLwbUPWXbGFxf_kZ2S5X-hrmQuqEM_difn8=gcJQbwg@mail.gmail.com

Thank you for your reply.  I think the code should add the handling for
packed ring size to follow the spec.

-----Original Message-----
From: bounces@canonical.com <bounces@canonical.com> On Behalf Of Yonggang Luo
Sent: Wednesday, May 6, 2020 12:32 PM
To: Ding, Xuan <xuan.ding@intel.com>
Subject: Re: [Bug 1877015] [NEW] virtio only support packed ring size power of 2 between 256 and 1024

Maybe the virtio need to be revised?

On Wed, May 6, 2020 at 10:51 AM xuan <1877015@bugs.launchpad.net> wrote:

> Public bug reported:
>
> Issue discription:
> When QEMU starts with "-device
> virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=on,rx_queue_size=1025,tx_queue_size=1025,mq=on,vectors=15,packed=on"
>
> It raises error: Invalid rx_queue_size (= 1025), must be a power of 2 
> between 256 and 1024
>
> Analysis:
> According to virtio1.1 spec, the packed queue size value does not have 
> to be a power of 2.
>
> ** Affects: qemu
>      Importance: Undecided
>          Status: New
>
> --
> You received this bug notification because you are a member of qemu- 
> devel-ml, which is subscribed to QEMU.
> https://bugs.launchpad.net/bugs/1877015
>
> Title:
>   virtio only support packed ring size power of 2 between 256 and 1024
>
> Status in QEMU:
>   New
>
> Bug description:
>   Issue discription:
>   When QEMU starts with "-device
> virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=on,rx_queue_size=1025,tx_queue_size=1025,mq=on,vectors=15,packed=on"
>
>   It raises error: Invalid rx_queue_size (= 1025), must be a power of 2
>   between 256 and 1024
>
>   Analysis:
>   According to virtio1.1 spec, the packed queue size value does not 
> have to be a power of 2.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/qemu/+bug/1877015/+subscriptions
>
>

-- 
         此致
礼
罗勇刚
Yours
    sincerely,
Yonggang Luo

--
You received this bug notification because you are subscribed to the bug report.
https://bugs.launchpad.net/bugs/1877015

Title:
  virtio only support packed ring size power of 2

Status in QEMU:
  New

Bug description:
  Issue discription:
  When QEMU starts with "-device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=on,rx_queue_size=1025,tx_queue_size=1025,mq=on,vectors=15,packed=on"

  It raises error: Invalid rx_queue_size (= 1025), must be a power of 2
  between 256 and 1024

  Analysis:
  According to virtio1.1 spec, the packed queue size value does not have to be a power of 2.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1877015/+subscriptions

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1877015

Title:
  virtio only support packed ring size power of 2

Status in QEMU:
  New

Bug description:
  Issue discription:
  When QEMU starts with "-device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=on,rx_queue_size=1025,tx_queue_size=1025,mq=on,vectors=15,packed=on"

  It raises error: Invalid rx_queue_size (= 1025), must be a power of 2
  between 256 and 1024

  Analysis:
  According to virtio1.1 spec, the packed queue size value does not have to be a power of 2.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1877015/+subscriptions


  parent reply	other threads:[~2020-05-06  5:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-06  2:43 [Bug 1877015] [NEW] virtio only support packed ring size power of 2 between 256 and 1024 xuan
2020-05-06  2:56 ` [Bug 1877015] Re: virtio only support packed ring size power of 2 xuan
2020-05-06  4:31 ` [Bug 1877015] [NEW] virtio only support packed ring size power of 2 between 256 and 1024 罗勇刚(Yonggang Luo)
2020-05-06  4:31   ` Yonggang Luo
2020-05-06  5:14   ` xuan [this message]
2020-05-06  5:11 ` [Bug 1877015] Re: virtio only support packed ring size power of 2 xuan
2021-05-06 13:34 ` Thomas Huth
2021-05-07  1:55 ` xuan
2021-05-11  5:38 ` Thomas Huth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7bea3ac6f10943e8b950957e484c1486@intel.com \
    --to=1877015@bugs.launchpad.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).