diff options
author | Dragos Tatulea <dtatulea@nvidia.com> | 2023-12-25 18:12:01 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2024-01-10 21:01:38 +0300 |
commit | f756dd3e2a4c704c0ab5ecb143ab71f1249af497 (patch) | |
tree | 475adeb1c331ed63bcfee9b015e26b59ae7354e9 /scripts/gdb/linux/tasks.py | |
parent | 60c43b3f6b4eb5a3d672952a0d65991f414ea258 (diff) | |
download | linux-f756dd3e2a4c704c0ab5ecb143ab71f1249af497.tar.xz |
vdpa/mlx5: Use vq suspend/resume during .set_map
Instead of tearing down and setting up vq resources, use vq
suspend/resume during .set_map to speed things up a bit.
The vq mr is updated with the new mapping while the vqs are suspended.
If the device doesn't support resumable vqs, do the old teardown and
setup dance.
Reviewed-by: Gal Pressman <gal@nvidia.com>
Acked-by: Eugenio Pérez <eperezma@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Dragos Tatulea <dtatulea@nvidia.com>
Message-Id: <20231225151203.152687-7-dtatulea@nvidia.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions