On 1/12/2022 11:03 PM, Michael S. Tsirkin wrote:
On Thu, Jan 13, 2022 at 12:10:48AM -0500, Si-Wei Liu wrote:
This patchset contains the fixes for a few issues uncovered during the
review for the "Allow for configuring max number of virtqueue pairs"
series.
It is based on Eli's fixes:
2e4cda633a22 ("vdpa/mlx5: Fix tracking of current number of VQs")
in the vhost tree.
It's really cleanups more than fixes. I'm not sure about the
code changes (the vdpa change looks ok, mlx5 ones need review
by nvidia folks) but from documentation POV this patchset needs
more work.
Yeah, this changeset is aiming to tighten the lose end found during code
review. Will try to improve commit message/comment and get back.
There will be another set that I am working on for real issues. Stay tuned.
-Siwei
Si-Wei Liu (3):
vdpa: factor out vdpa_set_features_unlocked for vdpa internal use
vdpa/mlx5: set_features should nack MQ if no CTRL_VQ
vdpa/mlx5: validate the queue pair value from driver
drivers/vdpa/mlx5/net/mlx5_vnet.c | 26 +++++++++++++++++++++++---
drivers/vdpa/vdpa.c | 2 +-
drivers/vhost/vdpa.c | 2 +-
drivers/virtio/virtio_vdpa.c | 2 +-
include/linux/vdpa.h | 18 ++++++++++++------
5 files changed, 38 insertions(+), 12 deletions(-)
--
1.8.3.1
_______________________________________________
Virtualization mailing list
Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/virtualization