1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
|
semantic: 0.998
assembly: 0.998
socket: 0.998
instruction: 0.998
graphic: 0.997
other: 0.997
device: 0.997
vnc: 0.997
network: 0.996
boot: 0.996
mistranslation: 0.993
KVM: 0.992
virtio only support packed ring size power of 2
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.
Maybe the virtio need to be revised?
On Wed, May 6, 2020 at 10:51 AM xuan <email address hidden> 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
Thank you for your reply. I think the code should add the handling for packed ring size to follow the spec.
Thank you for your reply. I think the code should add the handling for packed ring size to follow the spec.
-----Original Message-----
From: <email address hidden> <email address hidden> On Behalf Of Yonggang Luo
Sent: Wednesday, May 6, 2020 12:32 PM
To: Ding, Xuan <email address hidden>
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 <email address hidden> 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
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.
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
|