diff options
author | Dragos Tatulea <[email protected]> | 2023-12-25 17:12:01 +0200 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2024-01-10 13:01:38 -0500 |
commit | f756dd3e2a4c704c0ab5ecb143ab71f1249af497 (patch) | |
tree | 475adeb1c331ed63bcfee9b015e26b59ae7354e9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 60c43b3f6b4eb5a3d672952a0d65991f414ea258 (diff) |
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 <[email protected]>
Acked-by: Eugenio Pérez <[email protected]>
Acked-by: Jason Wang <[email protected]>
Signed-off-by: Dragos Tatulea <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions