linux-stable/drivers/vfio/pci/mlx5
Yishai Hadas f4f0c25e5d vfio/mlx5: Improve the target side flow to reduce downtime
Improve the target side flow to reduce downtime as of below.

- Support reading an optional record which includes the expected
  stop_copy size.
- Once the source sends this record data, which expects to be sent as
  part of the pre_copy flow, prepare the data buffers that may be large
  enough to hold the final stop_copy data.

The above reduces the migration downtime as the relevant stuff that is
needed to load the image data is prepared ahead as part of pre_copy.

Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
Link: https://lore.kernel.org/r/20230124144955.139901-4-yishaih@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2023-01-30 12:16:15 -07:00
..
cmd.c vfio/mlx5: Improve the source side flow upon pre_copy 2023-01-30 12:16:15 -07:00
cmd.h vfio/mlx5: Improve the target side flow to reduce downtime 2023-01-30 12:16:15 -07:00
Kconfig
main.c vfio/mlx5: Improve the target side flow to reduce downtime 2023-01-30 12:16:15 -07:00
Makefile