aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorDragos Tatulea <[email protected]>2024-06-26 13:26:56 +0300
committerMichael S. Tsirkin <[email protected]>2024-07-09 08:42:49 -0400
commit3b3adb3bbfce275400b21f7a0d54db0ba0a46cc9 (patch)
treea890b94486a2be63027ce7f36fb865d11b61a402 /lib/test_fortify/write_overflow-strncpy-src.c
parentac85cd904dc9a5e83643ec9da0c43b0a95193158 (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 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions