summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEli Cohen <elic@nvidia.com>2022-01-05 14:46:41 +0300
committerMichael S. Tsirkin <mst@redhat.com>2022-01-15 02:50:54 +0300
commit37e07e705888e4c3502f204e9c6785c9c2d6d86a (patch)
tree9c59a89cb41993e7fe57bdc3aa461fdb811cfd50 /include
parent612f330ec56f12c0d099286c45f82d835845f136 (diff)
downloadlinux-37e07e705888e4c3502f204e9c6785c9c2d6d86a.tar.xz
vdpa/mlx5: Restore cur_num_vqs in case of failure in change_num_qps()
Restore ndev->cur_num_vqs to the original value in case change_num_qps() fails. Fixes: 52893733f2c5 ("vdpa/mlx5: Add multiqueue support") Reviewed-by: Si-Wei Liu<si-wei.liu@oracle.com> Acked-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Eli Cohen <elic@nvidia.com> Link: https://lore.kernel.org/r/20220105114646.577224-10-elic@nvidia.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions