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:58 +0300
committerMichael S. Tsirkin <[email protected]>2024-07-09 08:42:50 -0400
commit0fe963d6fc162cd8c9b6c82205ea62e69088c063 (patch)
treed7e22eb844f01fb956c990cf16140b2ebed6e526 /lib/test_fortify/write_overflow-strncpy-src.c
parentffb1aae43ed5078598318042bac1ae1057e57e2d (diff)
vdpa/mlx5: Re-create HW VQs under certain conditions
There are a few conditions under which the hardware VQs need a full teardown and setup: - VQ size changed to something else than default value. Hardware VQ size modification is not supported. - User turns off certain device features: mergeable buffers, checksum virtio 1.0 compliance. In these cases, the TIR and RQT need to be re-created. Add a needs_teardown configuration variable and set it when detecting the above scenarios. On next DRIVER_OK, the resources will be torn down first. 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