diff options
author | Dragos Tatulea <dtatulea@nvidia.com> | 2024-06-26 13:26:53 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2024-07-09 08:42:48 -0400 |
commit | b89bb349f276d7d6688527312eef03d12493b9d4 (patch) | |
tree | f36b35060410a493edac3485dad4960a35c157aa /tools/perf/scripts/python/check-perf-trace.py | |
parent | fc9af25d04d635ea4590681d044284f97766da48 (diff) |
vdpa/mlx5: Add error code for suspend/resume VQ
Instead of blindly calling suspend/resume_vqs(), make then return error
codes.
To keep compatibility, keep suspending or resuming VQs on error and
return the last error code. The assumption here is that the error code
would be the same.
Reviewed-by: Cosmin Ratiu <cratiu@nvidia.com>
Acked-by: Eugenio Pérez <eperezma@redhat.com>
Signed-off-by: Dragos Tatulea <dtatulea@nvidia.com>
Message-Id: <20240626-stage-vdpa-vq-precreate-v2-17-560c491078df@nvidia.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions