Re: [PATCH 03/18] vhost_net: do not assume nvqs is always 2

2021-06-24 Thread Jason Wang
在 2021/6/24 下午2:22, Eli Cohen 写道: On Mon, Jun 21, 2021 at 12:16:35PM +0800, Jason Wang wrote: This patch switches to initialize dev.nvqs from the VhostNetOptions instead of assuming it was 2. This is useful for implementing control virtqueue support which will be a single vhost_net structure

Re: [PATCH 03/18] vhost_net: do not assume nvqs is always 2

2021-06-24 Thread Eli Cohen
On Mon, Jun 21, 2021 at 12:16:35PM +0800, Jason Wang wrote: > This patch switches to initialize dev.nvqs from the VhostNetOptions > instead of assuming it was 2. This is useful for implementing control > virtqueue support which will be a single vhost_net structure with a > single cvq. Maybe worth

Re: [PATCH 03/18] vhost_net: do not assume nvqs is always 2

2021-06-23 Thread Stefano Garzarella
On Mon, Jun 21, 2021 at 12:16:35PM +0800, Jason Wang wrote: This patch switches to initialize dev.nvqs from the VhostNetOptions instead of assuming it was 2. This is useful for implementing control virtqueue support which will be a single vhost_net structure with a single cvq. Signed-off-by:

[PATCH 03/18] vhost_net: do not assume nvqs is always 2

2021-06-20 Thread Jason Wang
This patch switches to initialize dev.nvqs from the VhostNetOptions instead of assuming it was 2. This is useful for implementing control virtqueue support which will be a single vhost_net structure with a single cvq. Signed-off-by: Jason Wang --- hw/net/vhost_net.c | 2 +-