Re: [PATCH v2] vdpa/mlx5: Allow CVQ size changes

2024-02-27 Thread Eugenio Perez Martin
On Mon, Feb 19, 2024 at 2:09 AM Lei Yang wrote: > > QE tested this patch's V2, qemu no longer print error messages > "qemu-system-x86_64: Insufficient written data (0)" after > enable/disable multi queues multi times inside guest. Both "x-svq=on > '' and without it are all test pass. > > Tested-by

Re: [PATCH v2] vdpa/mlx5: Allow CVQ size changes

2024-02-18 Thread Lei Yang
QE tested this patch's V2, qemu no longer print error messages "qemu-system-x86_64: Insufficient written data (0)" after enable/disable multi queues multi times inside guest. Both "x-svq=on '' and without it are all test pass. Tested-by: Lei Yang On Fri, Feb 16, 2024 at 10:25 PM Jonah Palmer wr

[PATCH v2] vdpa/mlx5: Allow CVQ size changes

2024-02-16 Thread Jonah Palmer
The MLX driver was not updating its control virtqueue size at set_vq_num and instead always initialized to MLX5_CVQ_MAX_ENT (16) at setup_cvq_vring. Qemu would try to set the size to 64 by default, however, because the CVQ size always was initialized to 16, an error would be thrown when sending >1