Re: [PATCH 2/3] virtio-net: update the default and max of rx/tx_queue_size

2022-09-19 Thread Michael S. Tsirkin
On Mon, Sep 19, 2022 at 05:39:14AM -0400, liuhaiwei wrote: > Set the max of tx_queue_size to 4096 even if the backends > are not vhost-user. > > Set the default of rx/tx_queue_size to 2048 if the backends > are vhost-user, otherwise to 4096. > > Signed-off-by: liuhaiwei Pls include motivation

[PATCH 2/3] virtio-net: update the default and max of rx/tx_queue_size

2022-09-19 Thread liuhaiwei
Set the max of tx_queue_size to 4096 even if the backends are not vhost-user. Set the default of rx/tx_queue_size to 2048 if the backends are vhost-user, otherwise to 4096. Signed-off-by: liuhaiwei --- hw/net/virtio-net.c | 40 ++-- 1 file changed, 30 inserti