8011a09add
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:
|
||
---|---|---|
.. | ||
meson.build | ||
mlx5_vdpa_event.c | ||
mlx5_vdpa_lm.c | ||
mlx5_vdpa_mem.c | ||
mlx5_vdpa_steer.c | ||
mlx5_vdpa_utils.h | ||
mlx5_vdpa_virtq.c | ||
mlx5_vdpa.c | ||
mlx5_vdpa.h | ||
version.map |