[PATCH v2 5/7] vdpa/mlx5: cache and reuse hardware resources

Maxime Coquelin maxime.coquelin at redhat.com
Thu May 5 22:01:10 CEST 2022


Hi Xueming,

On 4/25/22 15:28, Xueming(Steven) Li wrote:
> Hi Maxime,
> 
> Thanks for the suggestion, I'll send out a new version.

Ok, if you sent it early next week, it could be part of next week's PR.

Thanks,
Maxime

> 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