diff options
author | Dragos Tatulea <dtatulea@nvidia.com> | 2024-08-16 12:01:52 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2024-09-25 07:07:42 -0400 |
commit | d89d58f4888cde693e7707e13623eb50bb6435c2 (patch) | |
tree | 379a8ffa9e93d315f39c9c63a01e534889b0ffdb /drivers/vdpa/mlx5/net/mlx5_vnet.c | |
parent | de2cd39fc11b2f55b7f40f2a3036ca27327e4461 (diff) |
vdpa/mlx5: Introduce async fw command wrapper
Introduce a new function mlx5_vdpa_exec_async_cmds() which
wraps the mlx5_core async firmware command API in a way
that will be used to parallelize certain operation in this
driver.
The wrapper deals with the case when mlx5_cmd_exec_cb() returns
EBUSY due to the command being throttled.
Signed-off-by: Dragos Tatulea <dtatulea@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Message-Id: <20240816090159.1967650-4-dtatulea@nvidia.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Eugenio PĂ©rez <eperezma@redhat.com>
Tested-by: Lei Yang <leiyang@redhat.com>
Diffstat (limited to 'drivers/vdpa/mlx5/net/mlx5_vnet.c')
0 files changed, 0 insertions, 0 deletions