[PATCH v4 11/15] vdpa/mlx5: add virtq creation task for MT management

Maxime Coquelin maxime.coquelin at redhat.com
Mon Jun 20 17:19:07 CEST 2022



On 6/18/22 11:02, Li Zhang wrote:
> The virtq object and all its sub-resources use a lot of
> FW commands and can be accelerated by the MT management.
> Split the virtqs creation between the configuration threads.
> This accelerates the LM process and reduces its time by 20%.
> 
> Signed-off-by: Li Zhang <lizh at nvidia.com>
> Acked-by: Matan Azrad <matan at nvidia.com>
> ---
>   drivers/vdpa/mlx5/mlx5_vdpa.h         |   9 +-
>   drivers/vdpa/mlx5/mlx5_vdpa_cthread.c |  14 +++
>   drivers/vdpa/mlx5/mlx5_vdpa_event.c   |   2 +-
>   drivers/vdpa/mlx5/mlx5_vdpa_virtq.c   | 149 +++++++++++++++++++-------
>   4 files changed, 134 insertions(+), 40 deletions(-)
> 

Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Thanks,
Maxime



More information about the dev mailing list