]> www.infradead.org Git - users/jedix/linux-maple.git/commit
vdpa/mlx5: Accept Init -> Ready VQ transition in resume_vq()
authorDragos Tatulea <dtatulea@nvidia.com>
Wed, 26 Jun 2024 10:26:52 +0000 (13:26 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 9 Jul 2024 12:42:48 +0000 (08:42 -0400)
commitfc9af25d04d635ea4590681d044284f97766da48
tree362eb4450056974c7fc3f3623ea5df73a85f0bd2
parente60e9eeb3659776d3e450a5a86ca8b6f6594bced
vdpa/mlx5: Accept Init -> Ready VQ transition in resume_vq()

Until now resume_vq() was used only for the suspend/resume scenario.
This change also allows calling resume_vq() to bring it from Init to
Ready state (VQ initialization).

Signed-off-by: Dragos Tatulea <dtatulea@nvidia.com>
Reviewed-by: Cosmin Ratiu <cratiu@nvidia.com>
Message-Id: <20240626-stage-vdpa-vq-precreate-v2-16-560c491078df@nvidia.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Eugenio Pérez <eperezma@redhat.com>
Acked-by: Eugenio Pérez <eperezma@redhat.com>
drivers/vdpa/mlx5/net/mlx5_vnet.c