diff options
author | 2024-06-26 13:26:53 +0300 | |
---|---|---|
committer | 2024-07-09 08:42:48 -0400 | |
commit | b89bb349f276d7d6688527312eef03d12493b9d4 (patch) | |
tree | f36b35060410a493edac3485dad4960a35c157aa /tools/perf/scripts/python/export-to-postgresql.py | |
parent | vdpa/mlx5: Accept Init -> Ready VQ transition in resume_vq() (diff) | |
download | wireguard-linux-b89bb349f276d7d6688527312eef03d12493b9d4.tar.xz wireguard-linux-b89bb349f276d7d6688527312eef03d12493b9d4.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions