[PATCH v4 15/15] vdpa/mlx5: prepare virtqueue resource creation

Maxime Coquelin maxime.coquelin at redhat.com
Mon Jun 20 18:30:43 CEST 2022



On 6/18/22 11:02, Li Zhang wrote:
> Split the virtqs virt-queue resource between
> the configuration threads.
> Also need pre-created virt-queue resource
> after virtq destruction.
> This accelerates the LM process and reduces its time by 30%.
> 
> Signed-off-by: Li Zhang <lizh at nvidia.com>
> Acked-by: Matan Azrad <matan at nvidia.com>
> ---
>   doc/guides/rel_notes/release_22_07.rst |   1 +
>   drivers/vdpa/mlx5/mlx5_vdpa.c          | 115 +++++++++++++++++++------
>   drivers/vdpa/mlx5/mlx5_vdpa.h          |  12 ++-
>   drivers/vdpa/mlx5/mlx5_vdpa_cthread.c  |  15 +++-
>   drivers/vdpa/mlx5/mlx5_vdpa_virtq.c    | 111 ++++++++++++++++++++----
>   5 files changed, 209 insertions(+), 45 deletions(-)
> 

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

Thanks,
Maxime



More information about the dev mailing list