[PATCH v2 4/7] vdpa/mlx5: reuse resources in reconfiguration
Maxime Coquelin
maxime.coquelin at redhat.com
Wed Apr 20 16:49:53 CEST 2022
On 2/24/22 16:50, Xueming Li wrote:
> To speed up device resume, create reuseable resources during device
> probe state, release when device remove. Reused resources includes TIS,
"when device is removed"
> TD, VAR Doorbell mmap, error handling event channel and interrupt
> handler, UAR, Rx event channel, NULL MR, steer domain and table.
>
> Signed-off-by: Xueming Li <xuemingl at nvidia.com>
> ---
> drivers/vdpa/mlx5/mlx5_vdpa.c | 167 +++++++++++++++++++++-------
> drivers/vdpa/mlx5/mlx5_vdpa.h | 9 ++
> drivers/vdpa/mlx5/mlx5_vdpa_event.c | 23 ++--
> drivers/vdpa/mlx5/mlx5_vdpa_mem.c | 11 --
> drivers/vdpa/mlx5/mlx5_vdpa_steer.c | 30 +----
> drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 44 --------
> 6 files changed, 149 insertions(+), 135 deletions(-)
>
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
Thanks,
Maxime
More information about the dev
mailing list