numam-dpdk/drivers/vdpa
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
..
ifc vdpa/ifc: increase readability with bool type 2021-09-30 19:23:02 +02:00
mlx5 vdpa/mlx5: retry VAR allocation during vDPA restart 2021-10-21 14:24:21 +02:00
meson.build drivers: clean up build lists 2021-04-21 12:37:55 +02:00