diff options
author | 2022-06-13 10:59:58 +0300 | |
---|---|---|
committer | 2022-06-24 02:49:47 -0400 | |
commit | ace9252446ec615cd79a5f77d90edb25c0b9d024 (patch) | |
tree | 5ccf23198726c71c2a7aee2eb42530930d779659 /scripts/generate_rust_analyzer.py | |
parent | vdpa/mlx5: Update Control VQ callback information (diff) | |
download | wireguard-linux-ace9252446ec615cd79a5f77d90edb25c0b9d024.tar.xz wireguard-linux-ace9252446ec615cd79a5f77d90edb25c0b9d024.zip |
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 <elic@nvidia.com>
Message-Id: <20220613075958.511064-2-elic@nvidia.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Acked-by: Eugenio Pérez <eperezma@redhat.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions