Skip to content

RFC Support live migration with mlx5_vdpa

Eli Cohen lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 0 repliesNew

Changes in v1 from the cover letter

1. Fix a few typos
2. handle memory map updates for all groups with a given asid.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3vdpa/mlx5: Implement susupend virtqueue callbackdrivers/vdpa/mlx5/net/mlx5_vnet.c include/linux/mlx5/mlx5_ifc_vdpa.h+75 -10 replies
2/3vdpa/mlx5: Support different address spaces for control and datadrivers/vdpa/mlx5/core/mlx5_vdpa.h drivers/vdpa/mlx5/net/mlx5_vnet.c+88 -110 replies
3/3vdpa/mlx5: Disable VLAN support to support live migrationdrivers/vdpa/mlx5/net/mlx5_vnet.c+0 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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/[email protected]/T/
https://lore.kernel.org/all/[email protected]/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(-)
Signature · 1 line
2.35.1