summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorDragos Tatulea <dtatulea@nvidia.com>2024-06-26 13:26:44 +0300
committerMichael S. Tsirkin <mst@redhat.com>2024-07-09 08:42:45 -0400
commite5bcbd1de67611201873806d4d11ddfd172d0d12 (patch)
tree107e12d66d3ab07f29e93e6ac748eabe23fc9d97 /init
parent1835ed4a5d49d2280731cfcc43a55473d77ea666 (diff)
vdpa/mlx5: Clear and reinitialize software VQ data on reset
The hardware VQ configuration is mirrored by data in struct mlx5_vdpa_virtqueue . Instead of clearing just a few fields at reset, fully clear the struct and initialize with the appropriate default values. As clear_vqs_ready() is used only during reset, get rid of it. Reviewed-by: Cosmin Ratiu <cratiu@nvidia.com> Acked-by: Eugenio PĂ©rez <eperezma@redhat.com> Signed-off-by: Dragos Tatulea <dtatulea@nvidia.com> Message-Id: <20240626-stage-vdpa-vq-precreate-v2-8-560c491078df@nvidia.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions