]> www.infradead.org Git - users/jedix/linux-maple.git/commit
vdpa/mlx5: Allow creation of blank VQs
authorDragos Tatulea <dtatulea@nvidia.com>
Wed, 26 Jun 2024 10:26:51 +0000 (13:26 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 9 Jul 2024 12:42:47 +0000 (08:42 -0400)
commite60e9eeb3659776d3e450a5a86ca8b6f6594bced
tree8f098e2fde5c273b2c7ab4d7bf60fbf16da79c50
parentebebaf45e8a5da3c23459e91fbc441ee98bef8fd
vdpa/mlx5: Allow creation of blank VQs

Based on the filled flag, create VQs that are filled or blank.
Blank VQs will be filled in later through VQ modify.

Downstream patches will make use of this to pre-create blank VQs at
vdpa device creation.

Signed-off-by: Dragos Tatulea <dtatulea@nvidia.com>
Reviewed-by: Cosmin Ratiu <cratiu@nvidia.com>
Message-Id: <20240626-stage-vdpa-vq-precreate-v2-15-560c491078df@nvidia.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Eugenio Pérez <eperezma@redhat.com>
Acked-by: Eugenio Pérez <eperezma@redhat.com>
drivers/vdpa/mlx5/net/mlx5_vnet.c