diff options
author | Dragos Tatulea <[email protected]> | 2024-06-26 13:26:56 +0300 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2024-07-09 08:42:49 -0400 |
commit | 3b3adb3bbfce275400b21f7a0d54db0ba0a46cc9 (patch) | |
tree | a890b94486a2be63027ce7f36fb865d11b61a402 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | ac85cd904dc9a5e83643ec9da0c43b0a95193158 (diff) |
vdpa/mlx5: Use suspend/resume during VQP change
Resume a VQ if it is already created when the number of VQ pairs
increases. This is done in preparation for VQ pre-creation which is
coming in a later patch. It is necessary because calling setup_vq() on
an already created VQ will return early and will not enable the queue.
For symmetry, suspend a VQ instead of tearing it down when the number of
VQ pairs decreases. But only if the resume operation is supported.
Reviewed-by: Cosmin Ratiu <[email protected]>
Acked-by: Eugenio Pérez <[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/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions