qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Bug 1877015] [NEW] virtio only support packed ring size power of 2 between 256 and 1024
@ 2020-05-06  2:43 xuan
  2020-05-06  2:56 ` [Bug 1877015] Re: virtio only support packed ring size power of 2 xuan
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: xuan @ 2020-05-06  2:43 UTC (permalink / raw)
  To: qemu-devel

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 1877015] Re: virtio only support packed ring size power of 2
  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 ` xuan
  2020-05-06  4:31 ` [Bug 1877015] [NEW] virtio only support packed ring size power of 2 between 256 and 1024 罗勇刚(Yonggang Luo)
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: xuan @ 2020-05-06  2:56 UTC (permalink / raw)
  To: qemu-devel

** Summary changed:

- virtio only support packed ring size power of 2 between 256 and 1024
+ virtio only support packed ring size power of 2

-- 
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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Bug 1877015] [NEW] virtio only support packed ring size power of 2 between 256 and 1024
  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 ` 罗勇刚(Yonggang Luo)
  2020-05-06  4:31   ` Yonggang Luo
  2020-05-06  5:14   ` xuan
  2020-05-06  5:11 ` [Bug 1877015] Re: virtio only support packed ring size power of 2 xuan
                   ` (3 subsequent siblings)
  5 siblings, 2 replies; 9+ messages in thread
From: 罗勇刚(Yonggang Luo) @ 2020-05-06  4:31 UTC (permalink / raw)
  To: Bug 1877015; +Cc: qemu-level

[-- Attachment #1: Type: text/plain, Size: 1589 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 2272 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Bug 1877015] [NEW] virtio only support packed ring size power of 2 between 256 and 1024
  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
  1 sibling, 0 replies; 9+ messages in thread
From: Yonggang Luo @ 2020-05-06  4:31 UTC (permalink / raw)
  To: qemu-devel

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 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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 1877015] Re: virtio only support packed ring size power of 2
  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  5:11 ` xuan
  2021-05-06 13:34 ` Thomas Huth
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: xuan @ 2020-05-06  5:11 UTC (permalink / raw)
  To: qemu-devel

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

-- 
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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: [Bug 1877015] [NEW] virtio only support packed ring size power of 2 between 256 and 1024
  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
  1 sibling, 0 replies; 9+ messages in thread
From: xuan @ 2020-05-06  5:14 UTC (permalink / raw)
  To: qemu-devel

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 1877015] Re: virtio only support packed ring size power of 2
  2020-05-06  2:43 [Bug 1877015] [NEW] virtio only support packed ring size power of 2 between 256 and 1024 xuan
                   ` (2 preceding siblings ...)
  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
  5 siblings, 0 replies; 9+ messages in thread
From: Thomas Huth @ 2021-05-06 13:34 UTC (permalink / raw)
  To: qemu-devel

The QEMU project is currently moving its bug tracking to another system.
For this we need to know which bugs are still valid and which could be
closed already. Thus we are setting older bugs to "Incomplete" now.

If you still think this bug report here is valid, then please switch
the state back to "New" within the next 60 days, otherwise this report
will be marked as "Expired". Or please mark it as "Fix Released" if
the problem has been solved with a newer version of QEMU already.

Thank you and sorry for the inconvenience.


** Changed in: qemu
       Status: New => Incomplete

-- 
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:
  Incomplete

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 1877015] Re: virtio only support packed ring size power of 2
  2020-05-06  2:43 [Bug 1877015] [NEW] virtio only support packed ring size power of 2 between 256 and 1024 xuan
                   ` (3 preceding siblings ...)
  2021-05-06 13:34 ` Thomas Huth
@ 2021-05-07  1:55 ` xuan
  2021-05-11  5:38 ` Thomas Huth
  5 siblings, 0 replies; 9+ messages in thread
From: xuan @ 2021-05-07  1:55 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
       Status: Incomplete => 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

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 1877015] Re: virtio only support packed ring size power of 2
  2020-05-06  2:43 [Bug 1877015] [NEW] virtio only support packed ring size power of 2 between 256 and 1024 xuan
                   ` (4 preceding siblings ...)
  2021-05-07  1:55 ` xuan
@ 2021-05-11  5:38 ` Thomas Huth
  5 siblings, 0 replies; 9+ messages in thread
From: Thomas Huth @ 2021-05-11  5:38 UTC (permalink / raw)
  To: qemu-devel

This is an automated cleanup. This bug report has been moved to QEMU's
new bug tracker on gitlab.com and thus gets marked as 'expired' now.
Please continue with the discussion here:

 https://gitlab.com/qemu-project/qemu/-/issues/270


** Changed in: qemu
       Status: New => Expired

** Bug watch added: gitlab.com/qemu-project/qemu/-/issues #270
   https://gitlab.com/qemu-project/qemu/-/issues/270

-- 
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:
  Expired

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-05-11  5:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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).