This patchset contains the fixes and code cleanups for a couple 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. -- v1 -> v2: - removed unneeded Fixes tag to avoid confusion - failing the set_features op instead of clearing invalid feature - add motivation to the commit log - fix or add code comments in place per review feedback - re-align the subject in some patches to better reflect the actual code change - fixed corrupted email address format in SoB Si-Wei Liu (3): vdpa: factor out vdpa_set_features_unlocked for vdpa internal use vdpa/mlx5: should verify CTRL_VQ feature exists for MQ vdpa/mlx5: add validation for VIRTIO_NET_CTRL_MQ_VQ_PAIRS_SET command drivers/vdpa/mlx5/net/mlx5_vnet.c | 34 ++++++++++++++++++++++++++++++++-- drivers/vdpa/vdpa.c | 2 +- drivers/vhost/vdpa.c | 2 +- drivers/virtio/virtio_vdpa.c | 2 +- include/linux/vdpa.h | 18 ++++++++++++------ 5 files changed, 47 insertions(+), 11 deletions(-) -- 1.8.3.1 _______________________________________________ Virtualization mailing list Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/virtualization