aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorDragos Tatulea <[email protected]>2023-08-02 20:12:18 +0300
committerMichael S. Tsirkin <[email protected]>2023-08-10 15:24:28 -0400
commit9ee811009ad8f87982b69e61d07447d12233ad01 (patch)
tree754227fa9bcc18d91e370c73d9ed1de833bdc666 /tools/perf/scripts/python/sched-migration.py
parent3fe024193340b225d1fd410d78c495434a9d68e0 (diff)
vdpa/mlx5: Fix mr->initialized semantics
The mr->initialized flag is shared between the control vq and data vq part of the mr init/uninit. But if the control vq and data vq get placed in different ASIDs, it can happen that initializing the control vq will prevent the data vq mr from being initialized. This patch consolidates the control and data vq init parts into their own init functions. The mr->initialized will now be used for the data vq only. The control vq currently doesn't need a flag. The uninitializing part is also taken care of: mlx5_vdpa_destroy_mr got split into data and control vq functions which are now also ASID aware. Fixes: 8fcd20c30704 ("vdpa/mlx5: Support different address spaces for control and data") Signed-off-by: Dragos Tatulea <[email protected]> Reviewed-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