Re: [PATCH] net/virtio-user: fix number of vrings calculation

2023-02-10 Thread Maxime Coquelin
On 2/10/23 16:10, Maxime Coquelin wrote: When moving to dynamic allocation of vrings metadata, the number of vrings to allocate was incremented if the backend supports control queue. The problem is that the control queue metadata have to be allocated even if the backend does not use it direct

Re: [PATCH] net/virtio-user: fix number of vrings calculation

2023-02-10 Thread David Marchand
On Fri, Feb 10, 2023 at 4:10 PM Maxime Coquelin wrote: > > When moving to dynamic allocation of vrings metadata, the > number of vrings to allocate was incremented if the backend > supports control queue. > > The problem is that the control queue metadata have to be > allocated even if the backend

[PATCH] net/virtio-user: fix number of vrings calculation

2023-02-10 Thread Maxime Coquelin
When moving to dynamic allocation of vrings metadata, the number of vrings to allocate was incremented if the backend supports control queue. The problem is that the control queue metadata have to be allocated even if the backend does not use it directly, since the control queue is managed by the