diff options
author | 2023-12-25 17:12:01 +0200 | |
---|---|---|
committer | 2024-01-10 13:01:38 -0500 | |
commit | f756dd3e2a4c704c0ab5ecb143ab71f1249af497 (patch) | |
tree | 475adeb1c331ed63bcfee9b015e26b59ae7354e9 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | vdpa/mlx5: Mark vq state for modification in hw vq (diff) | |
download | wireguard-linux-f756dd3e2a4c704c0ab5ecb143ab71f1249af497.tar.xz wireguard-linux-f756dd3e2a4c704c0ab5ecb143ab71f1249af497.zip |
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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions