diff options
author | Eugenio Pérez <[email protected]> | 2023-08-02 20:12:20 +0300 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2023-08-10 15:24:29 -0400 |
commit | ad03a0f44cdb97b46e5c84ed353dac9b8ae2c276 (patch) | |
tree | 146fad49e989a29c01b0ea42ee99b0b47caef6f3 /tools/perf/scripts/python/sched-migration.py | |
parent | 9ee811009ad8f87982b69e61d07447d12233ad01 (diff) |
vdpa/mlx5: Delete control vq iotlb in destroy_mr only when necessary
mlx5_vdpa_destroy_mr can be called from .set_map with data ASID after
the control virtqueue ASID iotlb has been populated. The control vq
iotlb must not be cleared, since it will not be populated again.
So call the ASID aware destroy function which makes sure that the
right vq resource is destroyed.
Fixes: 8fcd20c30704 ("vdpa/mlx5: Support different address spaces for control and data")
Signed-off-by: Eugenio Pérez <[email protected]>
Reviewed-by: Gal Pressman <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Acked-by: Jason Wang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions