]> git.dujemihanovic.xyz Git - linux.git/commit
vdpa/mlx5: Use async API for vq query command
authorDragos Tatulea <dtatulea@nvidia.com>
Fri, 16 Aug 2024 09:01:53 +0000 (12:01 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 25 Sep 2024 11:07:42 +0000 (07:07 -0400)
commit1fcdf43ea69e976aae4f2d76ebb199cc0d4c5a88
treefb3a6bbbb5aa82561e6edca82bdb6ce395319e87
parentd89d58f4888cde693e7707e13623eb50bb6435c2
vdpa/mlx5: Use async API for vq query command

Switch firmware vq query command to be issued via the async API to
allow future parallelization.

For now the command is still serial but the infrastructure is there
to issue commands in parallel, including ratelimiting the number
of issued async commands to firmware.

A later patch will switch to issuing more commands at a time.

Signed-off-by: Dragos Tatulea <dtatulea@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Message-Id: <20240816090159.1967650-5-dtatulea@nvidia.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Tested-by: Lei Yang <leiyang@redhat.com>
drivers/vdpa/mlx5/core/mlx5_vdpa.h
drivers/vdpa/mlx5/net/mlx5_vnet.c