[PATCH RFC v1 0/3] Support live migration with mlx5_vdpa

From: Eli Cohen
Date: Mon Jun 20 2022 - 09:26:14 EST


Hi all,
I am sending this patch set with adressing some of the comments.

Please note that I will be on vacation for the next three weeks so any
comments will be addressed after I return.

Eugenio and myself were able to actually see live migation working over
mlx5_vdpa so that's a good sign too :-)

Following patchset supports the suspend callback to suspend VQs to allow
sshdow VQs to kick in. It also adds address space support also required
for live migration. We use two groups, one for the control virtqueue and
one for the data virtqueues.

Finally there is a patch that disables VLAN support since it is not
supported currently.

The aim of this patchset is to enable development/testing of live
migration over a real hardware device.

The below two patches are also required to be applied but I did not
include them in the series since they were sent separately.

https://lore.kernel.org/all/20220613075958.511064-1-elic@xxxxxxxxxx/T/
https://lore.kernel.org/all/20220613075958.511064-2-elic@xxxxxxxxxx/T/

v0 -> v1:
1. Fix a few typos
2. handle memory map updates for all groups with a given asid.

Eli Cohen (3):
vdpa/mlx5: Implement susupend virtqueue callback
vdpa/mlx5: Support different address spaces for control and data
vdpa/mlx5: Disable VLAN support to support live migration

drivers/vdpa/mlx5/core/mlx5_vdpa.h | 11 ++
drivers/vdpa/mlx5/net/mlx5_vnet.c | 157 ++++++++++++++++++++++++++---
include/linux/mlx5/mlx5_ifc_vdpa.h | 8 ++
3 files changed, 163 insertions(+), 13 deletions(-)

--
2.35.1