linux/drivers/vfio/pci/mlx5
Yishai Hadas 34a64c8eac vfio/mlx5: Refactor the SAVE callback to activate a work only upon an error
Upon a successful SAVE callback there is no need to activate a work, all
the required stuff can be done directly.

As so, refactor the above flow to activate a work only upon an error.

Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20230911093856.81910-4-yishaih@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2023-09-28 13:07:29 -06:00
..
cmd.c vfio/mlx5: Refactor the SAVE callback to activate a work only upon an error 2023-09-28 13:07:29 -06:00
cmd.h vfio/mlx5: Improve the target side flow to reduce downtime 2023-01-30 12:16:15 -07:00
Kconfig vfio/pci: Cleanup Kconfig 2023-06-16 12:23:42 -06:00
main.c vfio/mlx5: Wake up the reader post of disabling the SAVING migration file 2023-09-28 13:07:29 -06:00
Makefile