]> git.baikalelectronics.ru Git - kernel.git/commit
vdpa/mlx5: Update Control VQ callback information
authorEli Cohen <elic@nvidia.com>
Mon, 13 Jun 2022 07:59:57 +0000 (10:59 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Jul 2022 15:53:27 +0000 (17:53 +0200)
commitf350bfc9fd32c040bdfe45566f09a2983239ab10
treee6dec9ebc9337d7886f8e357ac26fd801292e8e9
parente9e5abe4c0f0699d49ca1b701c5de48a8029b216
vdpa/mlx5: Update Control VQ callback information

commit 6ad3f30c3236b0c2c7fcb516e5a69c27fb898df0 upstream.

The control VQ specific information is stored in the dedicated struct
mlx5_control_vq. When the callback is updated through
mlx5_vdpa_set_vq_cb(), make sure to update the control VQ struct.

Fixes: 463ccc085b88 ("vdpa/mlx5: Add support for control VQ and MAC setting")
Signed-off-by: Eli Cohen <elic@nvidia.com>
Message-Id: <20220613075958.511064-1-elic@nvidia.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com)
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/vdpa/mlx5/net/mlx5_vnet.c