summaryrefslogtreecommitdiff
path: root/net/sunrpc/svcauth_unix.c
diff options
context:
space:
mode:
authorEli Cohen <elic@nvidia.com>2022-06-13 10:59:58 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-07-21 21:24:33 +0200
commitb34dbeb2b0ece777a2256e820aaa809aff56abfd (patch)
treecb295b2f094e73ff8fa8d788dedbf97e3a4443de /net/sunrpc/svcauth_unix.c
parent10f2cd373e65bcd3be8f3cdc71c330c25763dfd8 (diff)
vdpa/mlx5: Initialize CVQ vringh only once
[ Upstream commit ace9252446ec615cd79a5f77d90edb25c0b9d024 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/sunrpc/svcauth_unix.c')
0 files changed, 0 insertions, 0 deletions