aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorEli Cohen <[email protected]>2022-06-13 10:59:58 +0300
committerMichael S. Tsirkin <[email protected]>2022-06-24 02:49:47 -0400
commitace9252446ec615cd79a5f77d90edb25c0b9d024 (patch)
tree5ccf23198726c71c2a7aee2eb42530930d779659 /lib/test_fortify/write_overflow-strncpy-src.c
parent40f2f3e94178d45e4ee6078effba2dfc76f6f5ba (diff)
vdpa/mlx5: Initialize CVQ vringh only once
Currently, CVQ vringh is initialized inside setup_virtqueues() which is called every time a memory update is done. This is undesirable since it resets all the context of the vring, including the available and used indices. Move the initialization to mlx5_vdpa_set_status() when VIRTIO_CONFIG_S_DRIVER_OK is set. Signed-off-by: Eli Cohen <[email protected]> Message-Id: <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]> Acked-by: Jason Wang <[email protected]> Acked-by: Eugenio PĂ©rez <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions