[PATCH v2 5/7] vdpa/mlx5: cache and reuse hardware resources
Xueming(Steven) Li
xuemingl at nvidia.com
Mon Apr 25 15:28:20 CEST 2022
Hi Maxime,
Thanks for the suggestion, I'll send out a new version.
Regards,
Xueming Li
> -----Original Message-----
> From: Maxime Coquelin <maxime.coquelin at redhat.com>
> Sent: Wednesday, April 20, 2022 11:03 PM
> To: Xueming(Steven) Li <xuemingl at nvidia.com>; dev at dpdk.org
> Cc: Matan Azrad <matan at nvidia.com>; Slava Ovsiienko <viacheslavo at nvidia.com>
> Subject: Re: [PATCH v2 5/7] vdpa/mlx5: cache and reuse hardware resources
>
>
>
> On 2/24/22 16:50, Xueming Li wrote:
> > During device suspend and resume, resources are not changed normally.
> > When huge resources allocated to VM, like huge memory size or lots of
>
> "When huge resources were allocated"
>
> > queues, time spent on release and recreate became significant.
> >
> > To speed up, this patch reuse resoruces like VM MR and VirtQ memory if
>
> "reuses resources"
>
> > not changed.
> >
> > Signed-off-by: Xueming Li <xuemingl at nvidia.com>
> > ---
> > drivers/vdpa/mlx5/mlx5_vdpa.c | 11 ++++-
> > drivers/vdpa/mlx5/mlx5_vdpa.h | 12 ++++-
> > drivers/vdpa/mlx5/mlx5_vdpa_mem.c | 27 ++++++++++-
> > drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 73 +++++++++++++++++++++--------
> > 4 files changed, 99 insertions(+), 24 deletions(-)
> >
>
> Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
>
> Thanks,
> Maxime
More information about the dev
mailing list