numam-dpdk/drivers/vdpa/mlx5
Xueming Li 8011a09add vdpa/mlx5: retry VAR allocation during vDPA restart
VAR is the device memory space for the virtio queues doorbells,
Qemu could mmap it to directly to speed up doorbell push.

On a busy system, Qemu takes time to release VAR resources during driver
shutdown. If vdpa restarted quickly, the VAR allocation failed with
error 28 since the VAR is singleton resource per device.

This patch adds retry mechanism for VAR allocation.

Fixes: 4cae722c1b ("vdpa/mlx5: move virtual doorbell alloc to probe")
Cc: stable@dpdk.org

Signed-off-by: Xueming Li <xuemingl@nvidia.com>
Reviewed-by: Matan Azrad <matan@nvidia.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2021-10-21 14:24:21 +02:00
..
meson.build drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
mlx5_vdpa_event.c common/mlx5: share HCA capabilities handle 2021-10-21 15:53:46 +02:00
mlx5_vdpa_lm.c common/mlx5: share protection domain object 2021-10-21 15:53:46 +02:00
mlx5_vdpa_mem.c common/mlx5: share protection domain object 2021-10-21 15:53:46 +02:00
mlx5_vdpa_steer.c common/mlx5: disable RoCE in device context creation 2021-10-21 15:53:46 +02:00
mlx5_vdpa_utils.h
mlx5_vdpa_virtq.c vdpa/mlx5: workaround FW first completion in start 2021-10-21 14:24:21 +02:00
mlx5_vdpa.c vdpa/mlx5: retry VAR allocation during vDPA restart 2021-10-21 14:24:21 +02:00
mlx5_vdpa.h common/mlx5: share HCA capabilities handle 2021-10-21 15:53:46 +02:00
version.map version: 21.11-rc0 2021-08-17 08:37:52 +02:00