diff options
author | Dragos Tatulea <[email protected]> | 2024-08-16 12:01:59 +0300 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2024-09-25 07:07:43 -0400 |
commit | 9dba41951ab64596c58f170f79a696c2cf83ff4a (patch) | |
tree | 6adc0c5959246298a700c29ae0eb29cd5d5aed01 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 74c89072f22600cc3d83fc70617b1b6c2f500013 (diff) |
vdpa/mlx5: Parallelize VQ suspend/resume for CVQ MQ command
change_num_qps() is still suspending/resuming VQs one by one.
This change switches to parallel suspend/resume.
When increasing the number of queues the flow has changed a bit for
simplicity: the setup_vq() function will always be called before
resume_vqs(). If the VQ is initialized, setup_vq() will exit early. If
the VQ is not initialized, setup_vq() will create it and resume_vqs()
will resume it.
Signed-off-by: Dragos Tatulea <[email protected]>
Reviewed-by: Tariq Toukan <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Acked-by: Eugenio Pérez <[email protected]>
Tested-by: Lei Yang <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions